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
the new #GstSample. gst_sample_unref() after usage.
Create a new #GstSample with the provided details.
Free-function: gst_sample_unref