From 4ccac97b40aa51630435036478e377e0c5d969a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 27 May 2008 18:10:00 +0000 Subject: [PATCH] gst/adder/gstadder.c: Correctly resync the iterator if gst_iterator_next() returns Original commit message from CVS: * gst/adder/gstadder.c: (gst_adder_query_duration): Correctly resync the iterator if gst_iterator_next() returns GST_ITERATOR_RESYNC. --- ChangeLog | 6 ++++++ gst/adder/gstadder.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bb41142..b55a542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-27 Sebastian Dröge + + * gst/adder/gstadder.c: (gst_adder_query_duration): + Correctly resync the iterator if gst_iterator_next() returns + GST_ITERATOR_RESYNC. + 2008-05-27 Tim-Philipp Müller * win32/vs6/libgstpbutils.dsp: diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index cad4f1c..dc2c96e 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -378,6 +378,7 @@ gst_adder_query_duration (GstAdder * adder, GstQuery * query) case GST_ITERATOR_RESYNC: max = -1; res = TRUE; + gst_iterator_resync (it); break; default: res = FALSE; -- 2.7.4