diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-11-01 13:56:51 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-11-01 13:56:51 +0000 |
commit | 9a5725b6306e1d69a89d988af94bd3efe1ef5de6 (patch) | |
tree | 2a205f36cd3d689b5223e8a4d051d68920ed53c8 | |
parent | 980c9cff04d70d6301c9538647872156b1b425eb (diff) |
Fix buffers timestamps in sbcenc.
-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) |