Create a new gstreamer.Sample with the provided details.
Free-function: gst_sample_unref
a gstreamer.Buffer, or NULL
a gstreamer.Caps, or NULL
a gstreamer.Segment, or NULL
a gstreamer.Structure, or NULL
the new gstreamer.Sample Sample.unref after usage.
ConstructionException GTK+ fails to create the object.
Create a new gstreamer.Sample with the provided details.
Free-function: gst_sample_unref