mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
sbc: audio: Make the sbcdec element copy buffer metadata
Makes sure we don't lose timestamps, etc.
This commit is contained in:
parent
7e65f96acb
commit
32154c5ae6
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue