From 24d789a9b59021636662b63dba0d6765948a348b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 15 May 2020 11:48:07 +0000 Subject: [PATCH] input-selector: Ensure events are forwarded only once per pad The code was prepared to do it but was missing to fill the pushed_pads list. Part-of: --- plugins/elements/gstinputselector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 523cd6e..ec07d37 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -1572,6 +1572,7 @@ gst_input_selector_event (GstPad * pad, GstObject * parent, GstEvent * event) gst_event_ref (event); result |= gst_pad_push_event (eventpad, event); + pushed_pads = g_list_append (pushed_pads, eventpad); g_value_reset (&item); break; -- 2.7.4