mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ext/vorbis/vorbisenc.c: Set caps on output buffer.
Original commit message from CVS: * ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain): Set caps on output buffer.
This commit is contained in:
parent
7d4be3b71a
commit
45bb2fe9d3
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-07-04 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain):
|
||||||
|
Set caps on output buffer.
|
||||||
|
|
||||||
2005-07-04 Andy Wingo <wingo@pobox.com>
|
2005-07-04 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* ext/gnomevfs/gstgnomevfssrc.c
|
* ext/gnomevfs/gstgnomevfssrc.c
|
||||||
|
|
|
@ -906,6 +906,10 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
GST_DEBUG ("here are the caps: %" GST_PTR_FORMAT, caps);
|
GST_DEBUG ("here are the caps: %" GST_PTR_FORMAT, caps);
|
||||||
gst_pad_set_caps (vorbisenc->srcpad, caps);
|
gst_pad_set_caps (vorbisenc->srcpad, caps);
|
||||||
|
|
||||||
|
gst_buffer_set_caps (buf1, caps);
|
||||||
|
gst_buffer_set_caps (buf2, caps);
|
||||||
|
gst_buffer_set_caps (buf3, caps);
|
||||||
|
|
||||||
/* push out buffers */
|
/* push out buffers */
|
||||||
gst_vorbisenc_push_buffer (vorbisenc, buf1);
|
gst_vorbisenc_push_buffer (vorbisenc, buf1);
|
||||||
gst_vorbisenc_push_buffer (vorbisenc, buf2);
|
gst_vorbisenc_push_buffer (vorbisenc, buf2);
|
||||||
|
|
Loading…
Reference in a new issue