[gst-devel] Stopping playback

Christoffer Nyborg christoffer.nyborg at gmail.com
Wed Feb 7 18:57:28 CET 2007


I'm writing an application where I might need to interrupt playback.
>From what I've read I'm supposed to change the state with
gst_element_set_state (pipeline, GST_STATE_NULL);
but I'm unable to because
g_main_loop_run (loop);
is blocking. How can I solve this? Can I throw the call
g_main_loop_run (loop);
into another thread or something?

Christoffer Nyborg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070207/6868937f/attachment.htm>

More information about the gstreamer-devel mailing list