GnlObject

GnlObject — Base class for GNonLin elements

Properties

gboolean active Read / Write
GstCaps * caps Read / Write
gint64 duration Read / Write
gint64 media-duration Read / Write
guint64 inpoint Read / Write
guint64 media-stop Read
guint priority Read / Write
gdouble rate Read
guint64 start Read / Write
guint64 stop Read
gboolean expandable Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBin
                    ╰── GnlObject
                        ├── GnlComposition
                        ├── GnlOperation
                        ╰── GnlSource

Implemented Interfaces

GnlObject implements GstChildProxy.

Description

GnlObject encapsulates default behaviour and implements standard properties provided by all the GNonLin elements.

Functions

Types and Values

GnlObject

typedef struct _GnlObject GnlObject;

Property Details

The “active” property

  “active”                   gboolean

Indicates whether this object should be used by its container.

Set to TRUE to temporarily disable this object in a GnlComposition.

Flags: Read / Write

Default value: TRUE


The “caps” property

  “caps”                     GstCaps *

Caps used to filter/choose the output stream.

If the controlled object produces several stream, you can set this property to choose a specific stream.

If nothing is specified then a source pad will be chosen at random.

Flags: Read / Write


The “duration” property

  “duration”                 gint64

The outgoing duration in nanoseconds.

Flags: Read / Write

Allowed values: >= 0

Default value: 0


The “media-duration” property

  “media-duration”           gint64

Duration of the media (in nanoseconds), can be negative.

Flags: Read / Write

Default value: 0


The “inpoint” property

  “inpoint”                  guint64

The media start position in nanoseconds.

Also called 'in-point' in video-editing, this corresponds to what position in the 'contained' object we should start outputting from.

Flags: Read / Write

Default value: 18446744073709551615


The “media-stop” property

  “media-stop”               guint64

The media stop position (in nanoseconds).

Flags: Read

Default value: 18446744073709551615


The “priority” property

  “priority”                 guint

The priority of the object in the container.

The highest priority is 0, meaning this object will be selected over any other between start and stop.

The lowest priority is G_MAXUINT32.

Objects whose priority is (-1) will be considered as 'default' objects in GnlComposition and their start/stop values will be modified as to fit the whole duration of the composition.

Flags: Read / Write

Default value: 0


The “rate” property

  “rate”                     gdouble

Playback rate of the media (1.0 : standard forward).

Flags: Read

Default value: 1


The “start” property

  “start”                    guint64

The start position relative to the parent in nanoseconds.

Flags: Read / Write

Default value: 0


The “stop” property

  “stop”                     guint64

The stop position relative to the parent in nanoseconds.

This value is computed based on the values of start and duration.

Flags: Read

Default value: 0


The “expandable” property

  “expandable”               gboolean

Indicates whether this object should expand to the full duration of its container GnlComposition.

Flags: Read / Write

Default value: FALSE