State changes to GST_STATE_NULL not being communicated.

Yogesh Marwaha yogeshm.007 at gmail.com
Tue Apr 2 22:20:23 PDT 2013


On 2 April 2013 20:49, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> 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.

Ok. Thanks for the help.

Regards,

Yogesh M


More information about the gstreamer-devel mailing list