GESLayer: GStreamer Editing Services 1.9.1 Reference Manual

## GESLayer GESLayer |

## Functions

gboolean | ges_layer_add_clip ()
GESClip * | ges_layer_add_asset ()
GESLayer * | ges_layer_new ()
gboolean | ges_layer_remove_clip ()
void | ges_layer_set_priority ()
guint | ges_layer_get_priority ()
GList * | ges_layer_get_clips ()
GESTimeline * | ges_layer_get_timeline ()
gboolean | ges_layer_get_auto_transition ()
void | ges_layer_set_auto_transition ()
gboolean | ges_layer_is_empty ()
GstClockTime | ges_layer_get_duration ()
#define | GES_TIMELINE_GET_LAYERS()
#define | GES_TIMELINE_GET_TRACKS()

## Properties

gboolean | auto-transition | Read / Write
guint | priority | Read / Write

## Signals

void | clip-added | Run First
void | clip-removed | Run First

## Types and Values

| GESLayer
| GESLayerClass

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GESLayer

## Implemented Interfaces

GESLayer implements GESExtractable and GESMetaContainer.

## Includes

    #include <ges/ges.h>

## Description

## Functions

### ges_layer_add_clip ()

    gboolean
    ges_layer_add_clip (GESLayer *layer,
                        GESClip *clip);

### ges_layer_add_asset ()

    GESClip *
    ges_layer_add_asset (GESLayer *layer,
                         GESAsset *asset,
                         GstClockTime start,
                         GstClockTime inpoint,
                         GstClockTime duration,
                         GESTrackType track_types);

### ges_layer_new ()

    GESLayer *
    ges_layer_new (void);

### ges_layer_remove_clip ()

    gboolean
    ges_layer_remove_clip (GESLayer *layer,
                           GESClip *clip);

### ges_layer_set_priority ()

    void
    ges_layer_set_priority (GESLayer *layer,
                            guint priority);

### ges_layer_get_priority ()

    guint
    ges_layer_get_priority (GESLayer *layer);

### ges_layer_get_clips ()

    GList *
    ges_layer_get_clips (GESLayer *layer);

### ges_layer_get_timeline ()

    GESTimeline *
    ges_layer_get_timeline (GESLayer *layer);

### ges_layer_get_auto_transition ()

    gboolean
    ges_layer_get_auto_transition (GESLayer *layer);

### ges_layer_set_auto_transition ()

    void
    ges_layer_set_auto_transition (GESLayer *layer,
                                   gboolean auto_transition);

### ges_layer_is_empty ()

    gboolean
    ges_layer_is_empty (GESLayer *layer);

### ges_layer_get_duration ()

    GstClockTime
    ges_layer_get_duration (GESLayer *layer);

### GES_TIMELINE_GET_LAYERS()

    #define GES_TIMELINE_GET_LAYERS(obj) (GES_TIMELINE (obj)->layers)

### GES_TIMELINE_GET_TRACKS()

    #define GES_TIMELINE_GET_TRACKS(obj) (GES_TIMELINE (obj)->tracks)

## Types and Values

### GESLayer

    typedef struct {
      GESTimeline *timeline;
    } GESLayer;

### GESLayerClass

    typedef struct {
      /* virtual methods for subclasses */
      GList *(*get_objects) (GESLayer * layer);
    } GESLayerClass;

## Property Details

### The `“auto-transition”` property

      “auto-transition”          gboolean

whether the transitions are added.

Flags: Read / Write

Default value: FALSE

### The `“priority”` property

      “priority”                 guint

The priority of the layer.

Flags: Read / Write

Default value: 0

## Signal Details

### The `“clip-added”` signal

    void
    user_function (GESLayer *geslayer,
                   GESClip  *arg1,
                   gpointer  user_data)

Flags: Run First

### The `“clip-removed”` signal

    void
    user_function (GESLayer *geslayer,
                   GESClip  *arg1,
                   gpointer  user_data)

Flags: Run First