Custom Events and Flushing Pads.

Stirling Westrup swestrup at
Mon Jun 8 13:27:09 PDT 2015

On Mon, Jun 8, 2015 at 3:54 PM, Tim Müller <tim at> wrote:

> 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.

That's a shame. I would hope you would consider adding a FLUSH_BYPASSING
event bit that is set for
FLUSH_START and FLUSH_STOP and which could be used to create custom flush
bypassing events.

Stirling Westrup
Programmer, Entrepreneur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list