Stopping Camerabin

Ian Davidson id012c3076 at blueyonder.co.uk
Mon Jan 20 08:20:35 PST 2014


Thanks Thiago - I was looking in the wrong place, which was why I could 
not see the problem.

I had forgotten to stop the GTK loop which was why my program did not stop.

Ian
>
> Setting elements/pipelines to NULL is a sync operation. So after that 
> call returns it should be safe to quit the main loop and unref 
> everything.
>
> Additionally to make sure that all pictures were saved, check that the 
> idle property of camerabin is true, or make sure to wait for the 
> image-done messages posted on the bus for each picture you requested 
> to capture.
>
> -- 
> Thiago 



More information about the gstreamer-devel mailing list