wait_playing


Description:

public FlowReturn wait_playing ()

If the GstBaseSrcClass::create method performs its own synchronisation against the clock it must unblock when going from PLAYING to the PAUSED state and call this method before continuing to produce the remaining data.

This function will block until a state change to PLAYING happens (in which case this function returns OK) or the processing must be stopped due to a state change to READY or a FLUSH event (in which case this function returns FLUSHING).

Parameters:

this

the src

Returns:

OK if this is PLAYING and processing can continue. Any other return value should be returned from the create vmethod.




2022 vala-language.org