seek


Description:

public bool seek (double rate, Format format, SeekFlags flags, SeekType start_type, int64 start, SeekType stop_type, int64 stop)

Sends a seek event to an element.

See Event.seek for the details of the parameters. The seek event is sent to the element using send_event.

MT safe.

Parameters:

this

a Element to send the event to.

rate

The new playback rate

format

The format of the seek values

flags

The optional seek flags.

start_type

The type and flags for the new start position

start

The value of the new start position

stop_type

The type and flags for the new stop position

stop

The value of the new stop position

Returns:

true if the event was handled. Flushing seeks will trigger a preroll, which will emit ASYNC_DONE.




2022 vala-language.org