pad: Remove unnecessary FIXME
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 18 Apr 2011 08:04:24 +0000 (10:04 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 5 May 2011 10:30:05 +0000 (12:30 +0200)
Resetting the result is not necessary when resyncing because
pads that previously got the event will be skipped and we
need to consider the results of the previous pushes.

gst/gstpad.c

index 382a6c5..bdc3f69 100644 (file)
@@ -2961,8 +2961,9 @@ gst_pad_event_default_dispatch (GstPad * pad, GstEvent * event)
         gst_object_unref (item);
         break;
       case GST_ITERATOR_RESYNC:
-        /* FIXME, if we want to reset the result value we need to remember which
-         * pads pushed with which result */
+        /* We don't reset the result here because we don't push the event
+         * again on pads that got the event already and because we need
+         * to consider the result of the previous pushes */
         gst_iterator_resync (iter);
         break;
       case GST_ITERATOR_ERROR: