![]() |
![]() |
![]() |
GStreamer Editing Services 0.10.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GESTimelineStandardTransitionGESTimelineStandardTransition — Transition from one clip to another in a GESTimelineLayer |
#include <ges/ges.h> GESTimelineStandardTransition; GESTimelineStandardTransition * ges_timeline_standard_transition_new (GESVideoStandardTransitionType vtype
); GESTimelineStandardTransition * ges_timeline_standard_transition_new_for_nick (char *nick
);
GObject +----GInitiallyUnowned +----GESTimelineObject +----GESTimelineOperation +----GESTimelineTransition +----GESTimelineStandardTransition
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.
GESSimpleTimelineLayer will automatically manage the priorities of sources and transitions. If you use GESTimelineStandardTransitions in another type of GESTimelineLayer, you will need to manage priorities yourself.
typedef struct { GESVideoStandardTransitionType vtype; } GESTimelineStandardTransition;
a GESVideoStandardTransitionType indicating the type of video transition to apply. |
GESTimelineStandardTransition * ges_timeline_standard_transition_new
(GESVideoStandardTransitionType vtype
);
Creates a new GESTimelineStandardTransition.
|
the type of transition to create |
Returns : |
a newly created GESTimelineStandardTransition, or NULL if something
went wrong. |
GESTimelineStandardTransition * ges_timeline_standard_transition_new_for_nick
(char *nick
);
Creates a new GESTimelineStandardTransition for the provided nick
.
|
a string representing the type of transition to create |
Returns : |
The newly created GESTimelineStandardTransition, or NULL if something
went wrong |
"vtype"
property"vtype" GESVideoStandardTransitionType : Read / Write / Construct
a GESVideoStandardTransitionType representing the wipe to use
Default value: Crossfade between two clips