sbc: audio: Make the sbcdec element copy buffer metadata

Makes sure we don't lose timestamps, etc.
This commit is contained in:
Arun Raghavan 2012-10-03 12:47:14 +05:30 committed by Tim-Philipp Müller
parent 7e65f96acb
commit 32154c5ae6

View file

@ -112,8 +112,7 @@ sbc_dec_chain (GstPad * pad, GstBuffer * buffer)
gst_buffer_set_caps (output, dec->outcaps);
/* FIXME get a real timestamp */
GST_BUFFER_TIMESTAMP (output) = GST_CLOCK_TIME_NONE;
gst_buffer_copy_metadata (output, buffer, GST_BUFFER_COPY_TIMESTAMPS);
res = gst_pad_push (dec->srcpad, output);
if (res != GST_FLOW_OK)