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:
Wim Taymans 2005-09-19 11:07:40 +00:00
parent 76d7381772
commit c8871b6355

View file

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