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(). MT safe.

  1. int seek(long time_nanoseconds)
  2. int seek(double rate, GstFormat format, GstSeekFlags flags, GstSeekType startType, long start, 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.

startType GstSeekType

The type and flags for the new start position

start long

The value of the new start 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. Flushing seeks will trigger a preroll, which will emit GST_MESSAGE_ASYNC_DONE. 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. Note that this signal will usually be emitted from the context of the streaming thread.

Meta