summaryrefslogtreecommitdiffstats
path: root/gst/liveadder
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-04-02 22:46:27 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:03 +0100
commitdc27b8f5694a2c60962da6b68f5d1739f460231d (patch)
treeb531e02a00382eb5c7ae2e5da098c3c9cfcf5e85 /gst/liveadder
parent9b1a57442e7b4d875d66e6d37fe95bdf81f1d3bb (diff)
downloadgst-plugins-bad-dc27b8f5694a2c60962da6b68f5d1739f460231d.tar.gz
gst-plugins-bad-dc27b8f5694a2c60962da6b68f5d1739f460231d.tar.bz2
gst-plugins-bad-dc27b8f5694a2c60962da6b68f5d1739f460231d.zip
[MOVED FROM GST-P-FARSIGHT] Reset buffers offsets to none
20080402224627-3e2dc-d3ee8c7d0c14131017842d8159f7f684d0ccef6d.gz
Diffstat (limited to 'gst/liveadder')
-rw-r--r--gst/liveadder/liveadder.c3
1 files changed, 3 insertions, 0 deletions
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);