Gst.Element.prototype.seek

function seek(rate:Number, format:Gst.Format, flags:Gst.SeekFlags, start_type:Gst.SeekType, start:Number, stop_type:Gst.SeekType, stop:Number):Boolean {
    // Gjs wrapper for gst_element_seek()
}

Sends a seek event to an element. See Gst.new_seek for the details of the parameters. The seek event is sent to the element using Gst.send_event.

MT safe.

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 Gst.MessageType.async_done.