summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-01 13:56:51 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-01 13:56:51 +0000
commit9a5725b6306e1d69a89d988af94bd3efe1ef5de6 (patch)
tree2a205f36cd3d689b5223e8a4d051d68920ed53c8
parent980c9cff04d70d6301c9538647872156b1b425eb (diff)
Fix buffers timestamps in sbcenc.
-rw-r--r--audio/gstsbcenc.c1
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)