mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
splitmuxsink: Run gst_iterator_foreach() as long as it returns GST_ITERATOR_RESYNC
CID 1434160
This commit is contained in:
parent
2662f58cc9
commit
6d7242925b
1 changed files with 2 additions and 2 deletions
|
@ -1212,13 +1212,13 @@ start_next_fragment (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
|||
GstEvent *ev;
|
||||
|
||||
ev = gst_event_new_flush_start ();
|
||||
gst_iterator_foreach (it, _send_event, ev);
|
||||
while (gst_iterator_foreach (it, _send_event, ev) == GST_ITERATOR_RESYNC);
|
||||
gst_event_unref (ev);
|
||||
|
||||
gst_iterator_resync (it);
|
||||
|
||||
ev = gst_event_new_flush_stop (TRUE);
|
||||
gst_iterator_foreach (it, _send_event, ev);
|
||||
while (gst_iterator_foreach (it, _send_event, ev) == GST_ITERATOR_RESYNC);
|
||||
gst_event_unref (ev);
|
||||
|
||||
gst_iterator_free (it);
|
||||
|
|
Loading…
Reference in a new issue