Sample.this

this(void * ptr, Flag!"Take" take) nothrow
No documentation available for this declaration.
this(gst.buffer.Buffer buffer, gst.caps.Caps caps, gst.segment.Segment segment, gst.structure.Structure info = null) nothrow

Create a new #GstSample with the provided details.

Free-function: gst_sample_unref

Parameters

buffera #GstBuffer, or null
capsa #GstCaps, or null
segmenta #GstSegment, or null
infoa #GstStructure, or null

Returns

the new #GstSample. gst_sample_unref()

after usage.