Module Gstreamer.Buffer

module Buffer: sig .. end

Buffers.


type t 

A buffer.

val of_string : string -> int -> int -> t

Create a buffer containing a given string as contents.

val of_data : Gstreamer.data -> int -> int -> t

Create a buffer containing given data as contents.

val set_presentation_time : t -> Stdlib.Int64.t -> unit

Set the presentation time of a buffer.

val set_decoding_time : t -> Stdlib.Int64.t -> unit

Set the decoding time of a buffer.

val set_duration : t -> Stdlib.Int64.t -> unit

Set the duration of a buffer.