From 45bb2fe9d36475b8dcc16d4b0d49769c67779a9e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 4 Jul 2005 15:14:51 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/vorbis/vorbisenc.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2dcd493..7c1f1c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-04 Wim Taymans + + * ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain): + Set caps on output buffer. + 2005-07-04 Andy Wingo * ext/gnomevfs/gstgnomevfssrc.c diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index 846d7c1..c5778f4 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -906,6 +906,10 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer) GST_DEBUG ("here are the caps: %" GST_PTR_FORMAT, 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 */ gst_vorbisenc_push_buffer (vorbisenc, buf1); gst_vorbisenc_push_buffer (vorbisenc, buf2); -- 2.7.4