GST_MESSAGE_ASYNC_DONE event

Tim-Philipp Müller t.i.m at zen.co.uk
Sat May 28 04:22:43 PDT 2011


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().

Cheers
 -Tim




More information about the gstreamer-devel mailing list