From dc27b8f5694a2c60962da6b68f5d1739f460231d Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Wed, 2 Apr 2008 22:46:27 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Reset buffers offsets to none 20080402224627-3e2dc-d3ee8c7d0c14131017842d8159f7f684d0ccef6d.gz --- gst/liveadder/liveadder.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/liveadder') diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index 36e52808..19ba7bb2 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -1102,6 +1102,9 @@ gst_live_adder_loop (gpointer data) GST_BUFFER_FLAG_UNSET(buffer, GST_BUFFER_FLAG_DISCONT); } + GST_BUFFER_OFFSET(buffer) = GST_BUFFER_OFFSET_NONE; + GST_BUFFER_OFFSET_END(buffer) = GST_BUFFER_OFFSET_NONE; + adder->next_timestamp = GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer); -- cgit v1.2.1