[gst-devel] How can I have two main loops in my program??

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Mar 16 13:37:46 CET 2010


On Tue, 2010-03-16 at 04:15 -0800, wanting2learn wrote:

> or do I just do simply:
> g_bus = gst_pipeline_get_bus (GST_PIPELINE(m_pPipeline));
> and then use your method
> 
> while ((msg = gst_bus_pop (g_bus))) {
>     ... handle message ...
>     gst_message_unref (msg);
>   } 

This one.

Cheers
 -Tim






More information about the gstreamer-devel mailing list