rtpmux: resync iterator on resync
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 28 Jan 2012 16:57:03 +0000 (16:57 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:35:29 +0000 (16:35 +0000)
gst/rtpmanager/gstrtpmux.c

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