A #GstSample is a small object containing data, a type, timing and extra arbitrary information.
Create a new #GstSample with the provided details.
Free-function: gst_sample_unref
a #GstBuffer, or %NULL
a #GstCaps, or %NULL
a #GstSegment, or %NULL
a #GstStructure, or %NULL
Get the buffer associated with sample
sample
Get the buffer list associated with sample
Get the caps associated with sample
Get extra information associated with sample.
Get the segment associated with sample
Set the buffer associated with sample. sample must be writable.
A #GstBuffer
Set the buffer list associated with sample. sample must be writable.
a #GstBufferList
Set the caps associated with sample. sample must be writable.
A #GstCaps
Set the info structure associated with sample. sample must be writable, and info must not have a parent set already.
info
A #GstStructure
Set the segment associated with sample. sample must be writable.
A #GstSegment
A #GstSample is a small object containing data, a type, timing and extra arbitrary information.