Flushing a pipeline with appsrc

Tim Müller tim at centricular.com
Mon Dec 16 08:58:50 PST 2013


On Mon, 2013-12-16 at 08:55 -0500, Nicolas Dufresne wrote:

> The only way you can flush your pipeline from the application is by
> doing a flushing seek (that is true for any pipeline with sources
> implemented using GstBaseSrc). If I remember well, there should be
> nearly no difference between 1.0 and 0.10 in this regard.

Not sure this is true. You can send flush-start/stop events on the
pipeline/source via gst_element_send_event().

Some patches to improve GstBaseSrc behaviour in this case landed in 1.2
IIRC.

Cheers
 -Tim

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






More information about the gstreamer-devel mailing list