rtpmux: resync iterator on resync

This commit is contained in:
Olivier Crête 2012-01-28 16:57:03 +00:00 committed by Tim-Philipp Müller
parent 0c54079af5
commit a8789d1df1

View file

@ -651,6 +651,7 @@ gst_rtp_mux_getcaps (GstPad * pad, GstRTPMux * mux, GstCaps * filter)
do { do {
gst_value_set_caps (&v, filtered_caps); gst_value_set_caps (&v, filtered_caps);
res = gst_iterator_fold (iter, same_clock_rate_fold, &v, pad); res = gst_iterator_fold (iter, same_clock_rate_fold, &v, pad);
gst_iterator_resync (iter);
} while (res == GST_ITERATOR_RESYNC); } while (res == GST_ITERATOR_RESYNC);
gst_iterator_free (iter); gst_iterator_free (iter);