[MOVED FROM GST-P-FARSIGHT] Preserve timestamp
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Tue, 16 Sep 2008 19:40:04 +0000 (15:40 -0400)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:40 +0000 (19:29 +0100)
gst/siren/gstsirendec.c

index e9d0a2f6fc1a2fda0c731a6d7cabc88b7e672845..3b66c5d4bed528df008a72a5ac3d03e18530a439 100644 (file)
@@ -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) {