Sample

A #GstSample is a small object containing data, a type, timing and extra arbitrary information.

Constructors

this
this(GstSample* gstSample)

Sets our main struct and passes it to the parent class.

this
this(Buffer buffer, Caps caps, Segment segment, Structure info)

Create a new #GstSample with the provided details.

Members

Functions

getBuffer
Buffer getBuffer()

Get the buffer associated with @sample

getCaps
Caps getCaps()

Get the caps associated with @sample

getInfo
Structure getInfo()

Get extra information associated with @sample.

getSampleStruct
GstSample* getSampleStruct()

Get the main Gtk struct

getSegment
Segment getSegment()

Get the segment associated with @sample

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gstSample
GstSample* gstSample;

the main Gtk struct

Meta