From c8871b63553e9f12c43a3de7b68e44d85ad8bc16 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 19 Sep 2005 11:07:40 +0000 Subject: [PATCH] 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. --- ext/lame/gstlame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index 5a5597a..6d5e118 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -1017,6 +1017,7 @@ gst_lame_chain (GstPad * pad, GstBuffer * buf) GST_BUFFER_TIMESTAMP (outbuf) = lame->last_ts; GST_BUFFER_OFFSET (outbuf) = lame->last_offs; GST_BUFFER_DURATION (outbuf) = lame->last_duration; + gst_buffer_set_caps (outbuf, GST_PAD_CAPS (lame->srcpad)); result = gst_pad_push (lame->srcpad, outbuf); -- 2.7.4