mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 05:35:53 +00:00
add accessor macro
This commit is contained in:
parent
b02cf5b34e
commit
d92d922c52
|
@ -255,6 +255,7 @@ GES_TIMELINE_OBJECT_DURATION
|
||||||
GES_TIMELINE_OBJECT_INPOINT
|
GES_TIMELINE_OBJECT_INPOINT
|
||||||
GES_TIMELINE_OBJECT_PRIORITY
|
GES_TIMELINE_OBJECT_PRIORITY
|
||||||
GES_TIMELINE_OBJECT_START
|
GES_TIMELINE_OBJECT_START
|
||||||
|
GES_TIMELINE_OBJECT_HEIGHT
|
||||||
ges_timeline_object_set_inpoint
|
ges_timeline_object_set_inpoint
|
||||||
ges_timeline_object_set_start
|
ges_timeline_object_set_start
|
||||||
ges_timeline_object_set_duration
|
ges_timeline_object_set_duration
|
||||||
|
|
|
@ -127,6 +127,14 @@ typedef gboolean (*CreateTrackObjectsFunc) (GESTimelineObject * object,
|
||||||
*/
|
*/
|
||||||
#define GES_TIMELINE_OBJECT_PRIORITY(obj) (((GESTimelineObject*)obj)->priority)
|
#define GES_TIMELINE_OBJECT_PRIORITY(obj) (((GESTimelineObject*)obj)->priority)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GES_TIMELINE_OBJECT_HEIGHT:
|
||||||
|
* @obj: a #GESTimelineObject
|
||||||
|
*
|
||||||
|
* The span of priorities this object occupies.
|
||||||
|
*/
|
||||||
|
#define GES_TIMELINE_OBJECT_HEIGHT(obj) (((GESTimelineObject*)obj)->height)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineObject:
|
* GESTimelineObject:
|
||||||
* @layer: the #GESTimelineLayer where this object is being used.
|
* @layer: the #GESTimelineLayer where this object is being used.
|
||||||
|
|
Loading…
Reference in a new issue