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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/485>
This commit is contained in:
Thibault Saunier 2020-05-15 11:48:07 +00:00 committed by GStreamer Merge Bot
parent 63ccf45395
commit 24d789a9b5

View file

@ -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;