package gstreamer

  1. Overview
  2. Docs

Module Gstreamer.BufferSource

Buffers.

Sourcetype t

A buffer.

Sourceval of_string : string -> int -> int -> t

Create a buffer containing a given string as contents.

Sourceval of_data : data -> int -> int -> t

Create a buffer containing given data as contents.

Sourceval of_data_list : (data * int * int) list -> t
Sourceval to_data : t -> data
Sourceval to_string : t -> string
Sourceval set_presentation_time : t -> Int64.t -> unit

Set the presentation time of a buffer.

Sourceval set_decoding_time : t -> Int64.t -> unit

Set the decoding time of a buffer.

Sourceval set_duration : t -> Int64.t -> unit

Set the duration of a buffer.