plugins/elements/gstidentity.c: Unset DISCONT on buffers when using single-segment mode.

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Unset DISCONT on buffers when using single-segment mode.
This commit is contained in:
Michael Smith 2006-08-28 18:08:09 +00:00
parent a0dbcd9ee4
commit 094187845a
2 changed files with 8 additions and 0 deletions

View file

@ -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):

View 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;