EncodingTarget.this

Creates a new #GstEncodingTarget.

The name and category can only consist of lowercase ASCII letters for the first character, followed by either lowercase ASCII letters, digits or hyphens ('-').

The category *should* be one of the existing well-defined categories, like #GST_ENCODING_CATEGORY_DEVICE, but it *can* be a application or user specific category if needed.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, string category, string description, gstpbutils.encoding_profile.EncodingProfile[] profiles)
    class EncodingTarget

Parameters

name string

The name of the target.

category string

The name of the category to which this target belongs. For example: #GST_ENCODING_CATEGORY_DEVICE.

description string

A description of #GstEncodingTarget in the current locale.

profiles gstpbutils.encoding_profile.EncodingProfile[]

A #GList of #GstEncodingProfile.

Return Value

The newly created #GstEncodingTarget or null if there was an error.