summaryrefslogtreecommitdiffstats
path: root/gst/selector
diff options
context:
space:
mode:
Diffstat (limited to 'gst/selector')
-rw-r--r--gst/selector/gstinputselector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c
index a4d46182..aef4bfc3 100644
--- a/gst/selector/gstinputselector.c
+++ b/gst/selector/gstinputselector.c
@@ -312,6 +312,8 @@ gst_selector_pad_event (GstPad * pad, GstEvent * event)
}
if (forward)
res = gst_pad_push_event (sel->srcpad, event);
+ else
+ gst_event_unref (event);
gst_object_unref (sel);