mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
ext/lame/gstlame.c: Set caps on outgoing buffers.
Original commit message from CVS: * ext/lame/gstlame.c: (gst_lame_chain): Set caps on outgoing buffers.
This commit is contained in:
parent
76d7381772
commit
c8871b6355
1 changed files with 1 additions and 0 deletions
|
@ -1017,6 +1017,7 @@ gst_lame_chain (GstPad * pad, GstBuffer * buf)
|
||||||
GST_BUFFER_TIMESTAMP (outbuf) = lame->last_ts;
|
GST_BUFFER_TIMESTAMP (outbuf) = lame->last_ts;
|
||||||
GST_BUFFER_OFFSET (outbuf) = lame->last_offs;
|
GST_BUFFER_OFFSET (outbuf) = lame->last_offs;
|
||||||
GST_BUFFER_DURATION (outbuf) = lame->last_duration;
|
GST_BUFFER_DURATION (outbuf) = lame->last_duration;
|
||||||
|
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (lame->srcpad));
|
||||||
|
|
||||||
result = gst_pad_push (lame->srcpad, outbuf);
|
result = gst_pad_push (lame->srcpad, outbuf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue