gst main loop runs even when eos send to pipeline

Olivier Crête olivier.crete at collabora.com
Tue Jul 14 15:03:24 UTC 2020


Hi,
GStreamer doesn't control the main loop, we only use it to give
messages back to the application. It's your responsability to start and
stop it. So yes, you must call g_main_loop_quit() to stop it.
OIivier
On Tue, 2020-07-14 at 02:07 -0500, umit wrote:
> Is it a good idea to just g_main_loop_quit(loop) instead
> ofgst_element_send_event(gstPipeline, gst_event_new_eos()) to return
> fromg_main_loop_run (loop)?
> 
> 
> --Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________gstreamer-devel
> mailing listgstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier Crête
olivier.crete at collabora.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200714/92d6d4b6/attachment.htm>


More information about the gstreamer-devel mailing list