'gst_bus_add_watch' not getting bus messages

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Tue Dec 4 05:30:56 PST 2012


> gst_bus_add_watch() will only work if you do use a main loop.

Do you mean any main loop (ex. Qt uses it's own event loop) or
specifically GMainLoop ?

Currently I'm using gst_bus_add_watch() from within a Qt application
and I'm getting the messages off the bus.

So is it ok to use it (gst_bus_add_watch())  even if you're running a
main loop from a different lib/system altogether (like Qt's main loop
in my example)?

Thanks,
-mandeep


More information about the gstreamer-devel mailing list