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.
ConstructionException GTK+ fails to create the object.
See Implementation
Create a new #GstSample with the provided details.
Free-function: gst_sample_unref