rtpmux: resync iterator on resync

This commit is contained in:
Olivier Crête 2012-01-28 16:57:03 +00:00
parent b9fd586a61
commit 3cccb06dc3

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