[MOVED FROM GST-P-FARSIGHT] Added comment for clarity
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Mon, 28 Apr 2008 16:19:58 +0000 (16:19 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:04 +0000 (19:29 +0100)
20080428161958-4f0f6-cbaa166fbde99013b555c69ab48d964d75773a7f.gz

gst/liveadder/liveadder.c

index 3e8a754..a6ae91a 100644 (file)
@@ -682,6 +682,10 @@ forward_event_func (GstPad * pad, GValue * ret, GstEvent * event)
     GST_LOG_OBJECT (pad, "Sent event  %p (%s).",
         event, GST_EVENT_TYPE_NAME (event));
   }
+
+  /* unref the pad because of a FIXME in gst_iterator_unfold
+   * it does a gst_iterator_next which refs the pad, but it never unrefs it
+   */
   gst_object_unref (pad);
   return TRUE;
 }