Custom Events and Flushing Pads.

Tim Müller tim at centricular.com
Mon Jun 8 12:54:01 PDT 2015


On Mon, 2015-06-08 at 15:38 -0400, Stirling Westrup wrote:

Hi,

> I have a custom event that is generated asynchronously by external
> conditions, and which needs to be fed into the top level of my
> pipeline and propagated to some of my pipeline elements.
> 
> 
> The problem is that the event is ALWAYS relevant, and I need all of my
> custom elements to see the event, even if the pipeline is in the
> flushing state.
> 
> 
> There must be some way to propagate an OOB event so that its not
> discarded while the pipeline is flushing (or else the flush-stop event
> could never get through...) but I haven't been able to figure one out.

I don't think there is a way. FLUSH_START and FLUSH_STOP are
special-cased in GstPad.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list