Element.seek

Sends a seek event to an element. See gst_event_new_seek() for the details of the parameters. The seek event is sent to the element using gst_element_send_event().

  1. int seek(long time_nanoseconds)
  2. int seek(double rate, GstFormat format, GstSeekFlags flags, GstSeekType curType, long cur, GstSeekType stopType, long stop)

Parameters

rate double

The new playback rate

format GstFormat

The format of the seek values

flags GstSeekFlags

The optional seek flags.

curType GstSeekType

The type and flags for the new current position

cur long

The value of the new current position

stopType GstSeekType

The type and flags for the new stop position

stop long

The value of the new stop position

Return Value

Type: int

TRUE if the event was handled. MT safe. Signal Details The "no-more-pads" signal void user_function (GstElement *gstelement, gpointer user_data) : Run Last This signals that the element will not generate more dynamic pads.

Meta