pipeline doesn't send send GST_MESSAGE_STATE_CHANGED when changing to NULL
Sebastian Dröge
sebastian at centricular.com
Wed Feb 24 13:54:13 UTC 2016
On Di, 2016-02-23 at 19:51 -0800, gyunaev wrote:
> Thank you for the example Sebastian! Do I get it right that I don't even need
> any event loops there, as once I do gst_bus_set_sync_handler() the handler
> function will be called by GStreamer from its own threads even if I don't
> run the event loop?
That's correct, but you can't do many things from the sync bus handler.
Setting element states for example or seeking is not going to work
well.
If you use Qt, you already have some kind of event loop running. Just
use that like in the example.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160224/9fa85329/attachment.sig>
More information about the gstreamer-devel
mailing list