Tracking the demuxer responsible for SEGMENT_DONE message
Tim Müller
tim at centricular.com
Tue Feb 21 09:00:28 UTC 2017
On Mon, 2017-02-20 at 14:25 -0500, Nicolas Dufresne wrote:
> GstBin (your pipeline), will watch for all GST_MESSAGE_SEGMENT_START
> and will forward to the application a single message when the same
> number of GST_MESSAGE_SEGMENT_DONE has been received.
>
> So technically, this message is from all the elements driving
> (handling seeks) your pipeline (demuxers, parsers or sources). It is
> sent once to the application so you should not have to care.
>
> You can of course implement GstBin::handle_message() in one of your
> own bin, and handle those messages yourself for a subset of your
> pipeline.
You *should* also be a able to set the message-forward=true property
and then get the individual SEGMENT_DONE messages forwarded wrapped
inside an ELEMENT message, bypassing the aggregation done by GstBin.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list