preroll, which will emit [gst.types.MessageType.AsyncDone].
Element.seek
bool seek(double rate, gst.types.Format format, gst.types.SeekFlags flags, gst.types.SeekType startType, long start, gst.types.SeekType stopType, long stop)Sends a seek event to an element. See [gst.event.Event.newSeek] for the details of the parameters. The seek event is sent to the element using [gst.element.Element.sendEvent].
MT safe.
Parameters
rate | The new playback rate |
format | The format of the seek values |
flags | The optional seek flags. |
startType | The type and flags for the new start position |
start | The value of the new start position |
stopType | 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