summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-09-16 15:40:04 -0400
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:40 +0100
commita67aa17c6d0fbd0b6dcb9db99a2e0f82e2af672f (patch)
tree979968bf75f427ecd090176184a1e6a37dc21bfd /gst
parent8fcd95267dfdff02bca0c3555b8ef2ffed22ef75 (diff)
downloadgst-plugins-bad-a67aa17c6d0fbd0b6dcb9db99a2e0f82e2af672f.tar.gz
gst-plugins-bad-a67aa17c6d0fbd0b6dcb9db99a2e0f82e2af672f.tar.bz2
gst-plugins-bad-a67aa17c6d0fbd0b6dcb9db99a2e0f82e2af672f.zip
[MOVED FROM GST-P-FARSIGHT] Preserve timestamp
Diffstat (limited to 'gst')
-rw-r--r--gst/siren/gstsirendec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c
index e9d0a2f6..3b66c5d4 100644
--- a/gst/siren/gstsirendec.c
+++ b/gst/siren/gstsirendec.c
@@ -188,6 +188,8 @@ gst_siren_dec_chain (GstPad *pad, GstBuffer *buf)
if (ret != GST_FLOW_OK)
return ret;
+ GST_BUFFER_TIMESTAMP (decoded) = GST_BUFFER_TIMESTAMP (buf);
+
while((inoffset + 40 <= GST_BUFFER_SIZE (buf)) &&
ret == GST_FLOW_OK) {