summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2008-04-28 16:19:58 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:04 +0100
commit72efe4c3d730e24438be8ba3db616b3bcc7ae38b (patch)
tree53de568fc184634757c93ac456fd6ff1de94dbe1 /gst
parenta3ad3be905a3d1e20726d93550df48cf53fd6ea2 (diff)
downloadgst-plugins-bad-72efe4c3d730e24438be8ba3db616b3bcc7ae38b.tar.gz
gst-plugins-bad-72efe4c3d730e24438be8ba3db616b3bcc7ae38b.tar.bz2
gst-plugins-bad-72efe4c3d730e24438be8ba3db616b3bcc7ae38b.zip
[MOVED FROM GST-P-FARSIGHT] Added comment for clarity
20080428161958-4f0f6-cbaa166fbde99013b555c69ab48d964d75773a7f.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/liveadder/liveadder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c
index 3e8a754f..a6ae91a6 100644
--- a/gst/liveadder/liveadder.c
+++ b/gst/liveadder/liveadder.c
@@ -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;
}