GST_MESSAGE_ASYNC_DONE event

Stefan Kost ensonic at hora-obscura.de
Sun May 29 00:19:46 PDT 2011


Am 28.05.2011 14:22, schrieb Tim-Philipp Müller:
> On Sat, 2011-05-28 at 09:49 +0300, Stefan Kost wrote:
> 
>> The GstStateChange to PAUSED is usually aynchronous. I pushed a small
>> doc changed to xref that better. GST_MESSAGE_ASYNC_START is posted to
>> let you know that the StateChange will be asynchronous and
>> GST_MESSAGE_ASYNC_DONE that is it finished.
> 
> Just to avoid confusion: An application will never see an ASYNC_START
> message, only ASYNC_DONE. The application is notified that the state
> change will be done asynchronously via a GST_STATE_CHANGE_ASYNC return
> value from gst_element_set_state().

Good point, who actually eats the ASYNC_START message (the bin I guess). Maybe
that could be further improved in the docs.

Stefan

> 
> Cheers
>  -Tim
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list