[gst-devel] About hardware resources liberation notification (e.g. alsasrc)

Michael Smith msmith at xiph.org
Sat Nov 7 21:13:17 CET 2009


On Sat, Nov 7, 2009 at 12:07 PM, Florent <fthiery at gmail.com> wrote:
> Hello,
>
>> So: no, there's no notification of this, because there shouldn't ever
>> be any reason to wait beyond setting it to NULL.
>
> Then is there a way to know when the NULL state setting has been "applied" ?

Yes: when your call to gst_element_set_state() returns. Of course, you
can check that that function call succeeds - but a downwards state
change should never fail (nor should they be asynchronous).

Mike




More information about the gstreamer-devel mailing list