Seeking at pre-roll

Nicolas Dufresne nicolas.dufresne at collabora.co.uk
Mon Mar 25 10:35:07 PDT 2013


Le lundi 25 mars 2013 à 17:11 +0100, Stefan Sauer a écrit :
> FYI. seeking in READY also works for audio. This would avoid first
> prerolling and then flushing that out again. Unfortunately you need to
> recurse over your pipline and seek on all sources, when in 0.10 you
> could just send the event to the pipeline.

In 1.0 I have done this by blocking the pads out of decodebin, wait for
the no-more-pads signal, performed a flushing seek (this must be done
outside the streaming thread) and finally unblocking the pads.

Nicolas




More information about the gstreamer-devel mailing list