mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 01:24:20 +00:00
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:
parent
edd3ce1d23
commit
b293389291
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2005-09-26 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init),
|
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init),
|
||||||
|
|
|
@ -458,7 +458,7 @@ gst_mp3parse_chain (GstPad * pad, GstBuffer * buf)
|
||||||
|
|
||||||
mp3parse->last_ts += GST_BUFFER_DURATION (outbuf);
|
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);
|
gst_pad_push (mp3parse->srcpad, outbuf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue