plugins/elements/gstidentity.c: Unset DISCONT on buffers when using single-segment...
authorMichael Smith <msmith@xiph.org>
Mon, 28 Aug 2006 18:08:09 +0000 (18:08 +0000)
committerMichael Smith <msmith@xiph.org>
Mon, 28 Aug 2006 18:08:09 +0000 (18:08 +0000)
Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Unset DISCONT on buffers when using single-segment mode.

ChangeLog
plugins/elements/gstidentity.c

index 20e50edfc1e9cb6df5828052c0d2339f7dbc0837..ff5140255e0ea177dd47a2472fb843eaf2be63fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-28  Michael Smith  <msmith@fluendo.com>
+
+       * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
+         Unset DISCONT on buffers when using single-segment mode.
+
 2006-08-28  Wim Taymans  <wim@fluendo.com>
 
        * gst/gstcaps.c: (gst_caps_merge_structure):
index ca5872be443b521602f1b376f0eaa3232dc58be2..a9aca01d799aee6f135b9d7f83a26bd92f259f41 100644 (file)
@@ -460,6 +460,9 @@ gst_identity_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
     GST_BUFFER_TIMESTAMP (buf) = runtimestamp;
     GST_BUFFER_OFFSET (buf) = GST_CLOCK_TIME_NONE;
     GST_BUFFER_OFFSET_END (buf) = GST_CLOCK_TIME_NONE;
+    /* We're using single-segment to generate a continuous stream, so drop the
+     * DISCONT flag if it was previously set */
+    GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT);
   }
 
   return ret;