pipeline doesn't send send GST_MESSAGE_STATE_CHANGED when changing to NULL

George Yunaev gyunaev at ulduzsoft.com
Tue Feb 23 08:59:49 UTC 2016


Hi all,

The pipeline correctly send GST_MESSAGE_STATE_CHANGED messages when its 
state changes from NULL to READY, from READY to PAUSED and so on. The 
only message I cannot get is pipeline change from READY to NULL when I 
set gst_element_set_state ( pipeline, GST_STATE_NULL );

I can receive changes to the NULL state for the pipeline elements, and 
currently use them to detect when the pipeline is stopped and the bus 
thread must exist gst_bus_timed_pop_filtered. However I do not receive 
this message for the pipeline itself. Is it not supposed to be sent?

-- 
With best regards, George.
Senior Software Security Engineer
http://www.ulduzsoft.com/about-me/resume/



More information about the gstreamer-devel mailing list