Custom Events and Flushing Pads.

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


On Mon, Jun 8, 2015 at 3:54 PM, Tim Müller <tim at centricular.com> 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.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150608/c2879228/attachment-0001.html>


More information about the gstreamer-devel mailing list