## GnlObject GnlObject — Base class for GNonLin elements |

## Synopsis

                        GnlObject;

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GstObject
                   +----GstElement
                         +----GstBin
                               +----GnlObject
                                     +----GnlComposition
                                     +----GnlOperation
                                     +----GnlSource

## Implemented Interfaces

GnlObject implements GstChildProxy.

## Properties

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

## Description

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

## Details

### GnlObject

    typedef struct _GnlObject GnlObject;

## Property Details

### The `"active"` property

      "active"                   gboolean              : Read / Write

Indicates whether this object should be used by its container.

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

Default value: TRUE

### The `"caps"` property

      "caps"                     GstCaps*              : Read / Write

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.

### The `"duration"` property

      "duration"                 gint64                : Read / Write

The outgoing duration in nanoseconds.

Allowed values: >= 0

Default value: 0

### The `"media-duration"` property

      "media-duration"           gint64                : Read / Write

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

Default value: 0

### The `"inpoint"` property

      "inpoint"                  guint64               : Read / Write

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.

Default value: 18446744073709551615

### The `"media-stop"` property

      "media-stop"               guint64               : Read

The media stop position (in nanoseconds).

Default value: 18446744073709551615

### The `"priority"` property

      "priority"                 guint                 : Read / Write

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.

Default value: 0

### The `"rate"` property

      "rate"                     gdouble               : Read

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

Default value: 1

### The `"start"` property

      "start"                    guint64               : Read / Write

The start position relative to the parent in nanoseconds.

Default value: 0

### The `"stop"` property

      "stop"                     guint64               : Read

The stop position relative to the parent in nanoseconds.

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

Default value: 0

### The `"expandable"` property

      "expandable"               gboolean              : Read / Write

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

Default value: FALSE