Sample.this

Create a new gstreamer.Sample with the provided details.

Free-function: gst_sample_unref

  1. this(GstSample* gstSample, bool ownedRef)
  2. this(Buffer buffer, Caps caps, Segment segment, Structure info)

Parameters

buffer Buffer

a gstreamer.Buffer, or NULL

caps Caps

a gstreamer.Caps, or NULL

segment Segment
info Structure

Return Value

the new gstreamer.Sample Sample.unref after usage.

Throws

ConstructionException GTK+ fails to create the object.