State changes to GST_STATE_NULL not being communicated.

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Apr 2 08:19:00 PDT 2013


On Tue, 2013-04-02 at 20:39 +0530, Yogesh Marwaha wrote:

> Hmm. How I missed that! Can I trust the documentation of 
> gst_element_set_state() which read as follows: -
> "State changes to GST_STATE_READY or GST_STATE_NULL never return 
> GST_STATE_CHANGE_ASYNC."
> 
> If this is the case, it either return success or failure. I am happy with that 
> :-0

In practice, no one ever checks the return value of a state change to
NULL state, it is more or less assumed that it will always work.

Cheers
 -Tim



More information about the gstreamer-devel mailing list