mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
sbc: Fix buffers timestamps in sbcenc.
This commit is contained in:
parent
a2152f6c12
commit
5672836c61
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ sbc_enc_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
memcpy (GST_BUFFER_DATA (output), enc->sbc.data, enc->sbc.len);
|
memcpy (GST_BUFFER_DATA (output), enc->sbc.data, enc->sbc.len);
|
||||||
|
GST_BUFFER_TIMESTAMP (output) = GST_BUFFER_TIMESTAMP (buffer);
|
||||||
|
|
||||||
res = gst_pad_push (enc->srcpad, output);
|
res = gst_pad_push (enc->srcpad, output);
|
||||||
if (res != GST_FLOW_OK)
|
if (res != GST_FLOW_OK)
|
||||||
|
|
Loading…
Reference in a new issue