Close a pipeline with g_main_loop_quit() fonction
thibault.dumoulin at wanadoo.fr
Wed Sep 12 22:54:28 UTC 2018
Hi , well sry my last message was incomplet.
So i want to exit the function and close the pipeline for go back to another
function (its a server applications) wish is on listening state, in order to
call some other options. here the piece of code i tried to put on my last
main_loop = g_main_loop_new (NULL, FALSE);
data.loop = main_loop;
data.pipeline = pipeline;
g_signal_connect (bus, "message", G_CALLBACK (cb_message), &data);
/* Free resources */
gst_element_set_state (pipeline, GST_STATE_NULL);
So i make some test by putting g_main_quit(main_loop) function a differente
place but the stream function stay how to say in the function and i want to
go out of it, dunno if its clear sry.
I really can't fixed this issue and htat make all my programmme is freezed
cause of that.
Thanks for your help
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel