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:
Wim Taymans 2005-07-04 15:14:51 +00:00
parent 7d4be3b71a
commit 45bb2fe9d3
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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);