You can search for identifiers within the package.
in-package search v0.2.0
gstreamer
Gstreamer.Element
Elements.
type t
An element.
val set_property_string : t -> string -> string -> unit
val set_property_int : t -> string -> string -> unit
val set_property_bool : t -> string -> string -> unit
type state =
| State_void_pending
| State_null
| State_ready
| State_paused
| State_playing
State of an element.
val string_of_state : state -> string
String representation of a state.
type state_change =
| State_change_success
| State_change_async
| State_change_no_preroll
Return value for state change.
val set_state : t -> state -> state_change
val get_state : t -> state_change * state * state
Current state of an element: return value, current state and pending state.
val link : t -> t -> unit
Link two elements.
val link_many : t list -> unit
Sequentially link a list of element.
val position : t -> Format.t -> Int64.t
Current position of an element.
val duration : t -> Format.t -> Int64.t
Duration of an element.
val seek_simple : t -> Format.t -> Event.seek_flag list -> Int64.t -> unit
Seek to a given position relative to the start of the stream.