## GESTransitionClip GESTransitionClip — Transition from one clip to another in a GESLayer |

## Synopsis

    #include <ges/ges.h>

                        GESTransitionClip;
    GESTransitionClip * ges_transition_clip_new             (GESVideoStandardTransitionType vtype);
    GESTransitionClip * ges_transition_clip_new_for_nick    (char *nick);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTimelineElement
                   +----GESContainer
                         +----GESClip
                               +----GESOperationClip
                                     +----GESBaseTransitionClip
                                           +----GESTransitionClip

## Implemented Interfaces

GESTransitionClip implements GESExtractable and GESMetaContainer.

## Properties

      "vtype"                    GESVideoStandardTransitionType  : Read / Write / Construct

## Description

Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.

The shape of the video transition depends on the value of the "vtype" property. The default value is "crossfade". For audio, only "crossfade" is supported.

GESSimpleLayer will automatically manage the priorities of sources and transitions. If you use GESTransitionClips in another type of GESLayer, you will need to manage priorities yourself.

The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GESExtractable.asset value will be updated when needed.

## Details

### GESTransitionClip

    typedef struct {
      GESVideoStandardTransitionType vtype;
    } GESTransitionClip;

GESVideoStandardTransitionType `vtype`; | a GESVideoStandardTransitionType indicating the type of video transition to apply.

### ges_transition_clip_new ()

    GESTransitionClip * ges_transition_clip_new             (GESVideoStandardTransitionType vtype);

Creates a new GESTransitionClip.

`vtype` : | the type of transition to create
Returns : | a newly created GESTransitionClip, or `NULL` if something went wrong.

### ges_transition_clip_new_for_nick ()

    GESTransitionClip * ges_transition_clip_new_for_nick    (char *nick);

Creates a new GESTransitionClip for the provided `nick`.

`nick` : | a string representing the type of transition to create
Returns : | The newly created GESTransitionClip, or `NULL` if something went wrong

## Property Details

### The `"vtype"` property

      "vtype"                    GESVideoStandardTransitionType  : Read / Write / Construct

a GESVideoStandardTransitionType representing the wipe to use

Default value: Crossfade between two clips