[0.11] gst-plugins-bad: rtpmux: resync iterator on resync

Olivier Crête tester at kemper.freedesktop.org
Sat Jan 28 08:57:26 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 3cccb06dc3fe146dc2b9f310ae5fcc236b3d7d0a
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=3cccb06dc3fe146dc2b9f310ae5fcc236b3d7d0a

Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Sat Jan 28 16:57:03 2012 +0000

rtpmux: resync iterator on resync

---

 gst/rtpmux/gstrtpmux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 0051914..49964d5 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -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);
 



More information about the gstreamer-commits mailing list