diff options
-rw-r--r-- | audio/gstsbcenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c index 69e67aeb..681a2291 100644 --- a/audio/gstsbcenc.c +++ b/audio/gstsbcenc.c @@ -217,6 +217,7 @@ static GstFlowReturn sbc_enc_chain(GstPad *pad, GstBuffer *buffer) goto done; 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); if (res != GST_FLOW_OK) |