Sample.this

Create a new GstSample with the provided details. Free-function: gst_sample_unref

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

Parameters

buffer Buffer

a GstBuffer, or NULL. [transfer none][allow-none]

caps Caps

a GstCaps, or NULL. [transfer none][allow-none]

segment Segment

a GstSegment, or NULL. [transfer none][allow-none]

info Structure

a GstStructure, or NULL. [transfer full][allow-none]

Throws

ConstructionException GTK+ fails to create the object.

Meta