package gstreamer

  1. Overview
  2. Docs
type t
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 =
  1. | State_void_pending
  2. | State_null
  3. | State_ready
  4. | State_paused
  5. | State_playing
val string_of_state : state -> string
type state_change =
  1. | State_change_success
  2. | State_change_async
  3. | State_change_no_preroll
val set_state : t -> state -> state_change
val get_state : t -> state_change * state * state
val position : t -> Format.t -> Int64.t
val duration : t -> Format.t -> Int64.t
val seek_simple : t -> Format.t -> Event.seek_flag list -> Int64.t -> unit
OCaml

Innovation. Community. Security.