Sample

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

Constructors

this
this(GstSample* gstSample, bool ownedRef)

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

getBufferList
BufferList getBufferList()

Get the buffer list associated with @sample

getCaps
Caps getCaps()

Get the caps associated with @sample

getInfo
Structure getInfo()

Get extra information associated with @sample.

getSampleStruct
GstSample* getSampleStruct(bool transferOwnership)

Get the main Gtk struct

getSegment
Segment getSegment()

Get the segment associated with @sample

getStruct
void* getStruct()

the main Gtk struct as a void*

setBufferList
void setBufferList(BufferList bufferList)

Set the buffer list associated with @sample

Static functions

getType
GType getType()

Variables

gstSample
GstSample* gstSample;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta