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

caps Caps

a #GstCaps, or %NULL

segment Segment

a #GstSegment, or %NULL

info Structure

a #GstStructure, or %NULL

Return: the new #GstSample. gst_sample_unref() after usage.

Throws

ConstructionException GTK+ fails to create the object.

Meta