pipeline doesn't send send GST_MESSAGE_STATE_CHANGED when changing to NULL

Sebastian Dröge sebastian at centricular.com
Tue Feb 23 09:31:49 UTC 2016


On Di, 2016-02-23 at 01:01 -0800, gyunaev wrote:
> Thank you Sebastian. So to see when the pipeline is stopped I indeed
> should listen for the element state changing to NULL?

No because you don't get a message for that. The state change to NULL
is synchronous, so once gst_element_set_state() has returned you are in
NULL state.

-- 
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/20160223/a94630e4/attachment.sig>


More information about the gstreamer-devel mailing list