gst/mpegaudioparse/gstmpegaudioparse.c: Set correct caps on buffers too.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_sink_event), (gst_mp3parse_chain):
Set correct caps on buffers too.
This commit is contained in:
Wim Taymans 2005-09-26 14:41:23 +00:00
parent edd3ce1d23
commit b293389291
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-09-26 Wim Taymans <wim@fluendo.com>
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_sink_event), (gst_mp3parse_chain):
Set correct caps on buffers too.
2005-09-26 Wim Taymans <wim@fluendo.com>
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init),

View file

@ -458,7 +458,7 @@ gst_mp3parse_chain (GstPad * pad, GstBuffer * buf)
mp3parse->last_ts += GST_BUFFER_DURATION (outbuf);
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (pad));
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (mp3parse->srcpad));
gst_pad_push (mp3parse->srcpad, outbuf);