mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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:
parent
5d121dd673
commit
4ccac97b40
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
* win32/vs6/libgstpbutils.dsp:
|
* win32/vs6/libgstpbutils.dsp:
|
||||||
|
|
|
@ -378,6 +378,7 @@ gst_adder_query_duration (GstAdder * adder, GstQuery * query)
|
||||||
case GST_ITERATOR_RESYNC:
|
case GST_ITERATOR_RESYNC:
|
||||||
max = -1;
|
max = -1;
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
|
gst_iterator_resync (it);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue