GESTrackElement: GStreamer Editing Services 1.9.1 Reference Manual

## GESTrackElement GESTrackElement |

## Functions

gboolean | ges_track_element_set_active ()
GESTrack * | ges_track_element_get_track ()
GstElement * | ges_track_element_get_nleobject ()
GstElement * | ges_track_element_get_gnlobject ()
GstElement * | ges_track_element_get_element ()
gboolean | ges_track_element_is_active ()
gboolean | ges_track_element_lookup_child ()
GParamSpec ** | ges_track_element_list_children_properties ()
gboolean | ges_track_element_set_child_property ()
void | ges_track_element_set_child_properties ()
void | ges_track_element_set_child_property_valist ()
void | ges_track_element_set_child_property_by_pspec ()
gboolean | ges_track_element_get_child_property ()
void | ges_track_element_get_child_properties ()
void | ges_track_element_get_child_property_valist ()
void | ges_track_element_get_child_property_by_pspec ()
gboolean | ges_track_element_edit ()
gboolean | ges_track_element_set_control_source ()
GstControlBinding * | ges_track_element_get_control_binding ()
GHashTable * | ges_track_element_get_all_control_bindings ()
gboolean | ges_track_element_remove_control_binding ()

## Properties

gboolean | active | Read / Write
GESTrack * | track | Read
GESTrackType | track-type | Read / Write / Construct

## Signals

void | control-binding-added | Run First
void | control-binding-reomved | Run First

## Types and Values

| GESTrackElement
| GESTrackElementClass

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GESTimelineElement
                ╰── GESTrackElement
                    ├── GESSource
                    ╰── GESOperation

## Implemented Interfaces

GESTrackElement implements GESExtractable and GESMetaContainer.

## Includes

    #include <ges/ges.h>

## Description

## Functions

### ges_track_element_set_active ()

    gboolean
    ges_track_element_set_active (GESTrackElement *object,
                                  gboolean active);

### ges_track_element_get_track ()

    GESTrack *
    ges_track_element_get_track (GESTrackElement *object);

### ges_track_element_get_nleobject ()

    GstElement *
    ges_track_element_get_nleobject (GESTrackElement *object);

### ges_track_element_get_gnlobject ()

    GstElement *
    ges_track_element_get_gnlobject (GESTrackElement *object);

### ges_track_element_get_element ()

    GstElement *
    ges_track_element_get_element (GESTrackElement *object);

### ges_track_element_is_active ()

    gboolean
    ges_track_element_is_active (GESTrackElement *object);

### ges_track_element_lookup_child ()

    gboolean
    ges_track_element_lookup_child (GESTrackElement *object,
                                    const gchar *prop_name,
                                    GstElement **element,
                                    GParamSpec **pspec);

### ges_track_element_list_children_properties ()

    GParamSpec **
    ges_track_element_list_children_properties
                                   (GESTrackElement *object,
                                    guint *n_properties);

### ges_track_element_set_child_property ()

    gboolean
    ges_track_element_set_child_property (GESTrackElement *object,
                                          const gchar *property_name,
                                          GValue *value);

### ges_track_element_set_child_properties ()

    void
    ges_track_element_set_child_properties
                                   (GESTrackElement *object,
                                    const gchar *first_property_name,
                                    ...);

### ges_track_element_set_child_property_valist ()

    void
    ges_track_element_set_child_property_valist
                                   (GESTrackElement *object,
                                    const gchar *first_property_name,
                                    va_list var_args);

### ges_track_element_set_child_property_by_pspec ()

    void
    ges_track_element_set_child_property_by_pspec
                                   (GESTrackElement *object,
                                    GParamSpec *pspec,
                                    GValue *value);

### ges_track_element_get_child_property ()

    gboolean
    ges_track_element_get_child_property (GESTrackElement *object,
                                          const gchar *property_name,
                                          GValue *value);

### ges_track_element_get_child_properties ()

    void
    ges_track_element_get_child_properties
                                   (GESTrackElement *object,
                                    const gchar *first_property_name,
                                    ...);

### ges_track_element_get_child_property_valist ()

    void
    ges_track_element_get_child_property_valist
                                   (GESTrackElement *object,
                                    const gchar *first_property_name,
                                    va_list var_args);

### ges_track_element_get_child_property_by_pspec ()

    void
    ges_track_element_get_child_property_by_pspec
                                   (GESTrackElement *object,
                                    GParamSpec *pspec,
                                    GValue *value);

### ges_track_element_edit ()

    gboolean
    ges_track_element_edit (GESTrackElement *object,
                            GList *layers,
                            GESEditMode mode,
                            GESEdge edge,
                            guint64 position);

### ges_track_element_set_control_source ()

    gboolean
    ges_track_element_set_control_source (GESTrackElement *object,
                                          GstControlSource *source,
                                          const gchar *property_name,
                                          const gchar *binding_type);

### ges_track_element_get_control_binding ()

    GstControlBinding *
    ges_track_element_get_control_binding (GESTrackElement *object,
                                           const gchar *property_name);

### ges_track_element_get_all_control_bindings ()

    GHashTable *
    ges_track_element_get_all_control_bindings
                                   (GESTrackElement *trackelement);

### ges_track_element_remove_control_binding ()

    gboolean
    ges_track_element_remove_control_binding
                                   (GESTrackElement *object,
                                    const gchar *property_name);

## Types and Values

### GESTrackElement

    typedef struct _GESTrackElement GESTrackElement;

### GESTrackElementClass

    typedef struct {
      /* virtual methods for subclasses */
      const gchar  *nleobject_factorytype;
      GstElement*  (*create_gnl_object)        (GESTrackElement * object);
      GstElement*  (*create_element)           (GESTrackElement * object);

      void (*active_changed)       (GESTrackElement *object, gboolean active);

      /* virtual methods for subclasses */
      GParamSpec** (*list_children_properties) (GESTrackElement * object,
                  guint *n_properties);
      gboolean (*lookup_child)                 (GESTrackElement *object,
                                                const gchar *prop_name,
                                                GstElement **element,
                                                GParamSpec **pspec);
    } GESTrackElementClass;

## Property Details

### The `“active”` property

      “active”                   gboolean

Use object in output.

Flags: Read / Write

Default value: TRUE

### The `“track”` property

      “track”                    GESTrack *

The track the object is in.

Flags: Read

### The `“track-type”` property

      “track-type”               GESTrackType

The track type of the object.

Flags: Read / Write / Construct

Default value: GES_TRACK_TYPE_UNKNOWN

## Signal Details

### The `“control-binding-added”` signal

    void
    user_function (GESTrackElement   *gestrackelement,
                   GstControlBinding *arg1,
                   gpointer           user_data)

Flags: Run First

### The `“control-binding-reomved”` signal

    void
    user_function (GESTrackElement   *gestrackelement,
                   GstControlBinding *arg1,
                   gpointer           user_data)

Flags: Run First