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.
This commit is contained in:
Sebastian Dröge 2008-05-27 18:10:00 +00:00
parent 5d121dd673
commit 4ccac97b40
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-05-27 Sebastian Dröge <slomo@circular-chaos.org>
* 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 <tim.muller at collabora co uk>
* win32/vs6/libgstpbutils.dsp:

View file

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