GNOME Bugzilla – Bug 693314
gst_element_send_event on GstBin without sink/src element but with sink/src ghostpads
Last modified: 2013-02-12 09:24:46 UTC
GstBin only tries to relay events to sink/source child elements as default action in gst_element_send_event. This is fine for pipelines where there are always both sinks and sources and no external pads. But my case is a uridecodebin with no sink elements to handle a seek event I try to send to it. There are however several src ghost pads that would be perfect to relay the event to.
I suggest adding an iteration over ghost pads in addition to the existing normal functionality of iterating sink/src elements in gst_bin_send_event.
Created attachment 235378 [details] [review]
Iterate over ghost pads as well and send event there
Author: Alexander Schrab <firstname.lastname@example.org>
Date: Thu Feb 7 12:47:02 2013 +0100
bin: Let gst_bin_send_event() send events to ghost pads as well