| GStreamer Editing Services 1.2.1 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <ges/ges.h>
GESVideoTransition;
GESVideoTransition * ges_video_transition_new (void);
gboolean ges_video_transition_set_transition_type
(GESVideoTransition *self,
GESVideoStandardTransitionType type);
GESVideoStandardTransitionType ges_video_transition_get_transition_type
(GESVideoTransition *trans);
void ges_video_transition_set_border (GESVideoTransition *self,
guint value);
gint ges_video_transition_get_border (GESVideoTransition *self);
void ges_video_transition_set_inverted (GESVideoTransition *self,
gboolean inverted);
gboolean ges_video_transition_is_inverted (GESVideoTransition *self);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESTrackElement +----GESOperation +----GESTransition +----GESVideoTransition
"border" guint : Read / Write "invert" gboolean : Read / Write "transition-type" GESVideoStandardTransitionType : Read / Write
GESVideoTransition * ges_video_transition_new (void);
Creates a new GESVideoTransition.
Returns : |
The newly created GESVideoTransition, or NULL if there was an
error. |
gboolean ges_video_transition_set_transition_type (GESVideoTransition *self,GESVideoStandardTransitionType type);
Sets the transition being used to type.
|
a GESVideoTransition |
|
a GESVideoStandardTransitionType |
Returns : |
TRUE if the transition type was properly changed, else FALSE. |
GESVideoStandardTransitionType ges_video_transition_get_transition_type
(GESVideoTransition *trans);
Get the transition type used by trans.
|
a GESVideoTransition |
Returns : |
The transition type used by trans. |
void ges_video_transition_set_border (GESVideoTransition *self,guint value);
Set the border property of self, this value represents
the border width of the transition. In case this value does
not make sense for the current transition type, it is cached
for later use.
|
The GESVideoTransition to set the border to |
|
The value of the border to set on object
|
gint ges_video_transition_get_border (GESVideoTransition *self);
Get the border property of self, this value represents
the border width of the transition.
|
The GESVideoTransition to get the border from |
Returns : |
The border values of self or -1 if not meaningful
(this will happen when not using a smpte transition). |
void ges_video_transition_set_inverted (GESVideoTransition *self,gboolean inverted);
Set the invert property of self, this value represents
the direction of the transition. In case this value does
not make sense for the current transition type, it is cached
for later use.
|
The GESVideoTransition to set invert on |
|
TRUE if the transition should be inverted FALSE otherwise |
gboolean ges_video_transition_is_inverted (GESVideoTransition *self);
Get the invert property of self, this value represents
the direction of the transition.
|
The GESVideoTransition to get the inversion from |
Returns : |
The invert value of self
|
"border" property"border" guint : Read / Write
This value represents the border width of the transition.
Default value: 0
"invert" property"invert" gboolean : Read / Write
This value represents the direction of the transition.
Default value: FALSE
"transition-type" property"transition-type" GESVideoStandardTransitionType : Read / Write
The type of the transition.
Default value: Crossfade between two clips