Problem ending filesink
Tim Müller
tim at centricular.com
Sun Nov 17 00:53:48 PST 2013
Hi,
----- Original message -----
> So, I decided to add a delay after I send the EOS event thru the
> pipeline by adding the line sleep(10) which is 10 seconds and then
> continue with the clearing of the pipeline and elements and it seems to
> work now. So I guess I was right about not waiting enough before
> performing the clearing of pipeline and elements.
>
> Instead of adding a delay, is there a way to get some feedback from the
> pipeline once the EOS event is sent thru the pipeline and then move onto
> clearing the pipeline and other elements?
Yes, wait for an eos *message* on the pipeline's gstbus in your bus watch function.
Cheers
-Tim
More information about the gstreamer-devel
mailing list