diff --git a/docs/libs/ges-sections.txt b/docs/libs/ges-sections.txt index 9451522f1d..0624a1244c 100644 --- a/docs/libs/ges-sections.txt +++ b/docs/libs/ges-sections.txt @@ -136,6 +136,10 @@ GES_TYPE_TIMELINE_LAYER GESTimelineObject GESTimelineObjectClass FillTrackObjectFunc +GES_TIMELINE_OBJECT_DURATION +GES_TIMELINE_OBJECT_INPOINT +GES_TIMELINE_OBJECT_PRIORITY +GES_TIMELINE_OBJECT_START ges_timeline_object_set_inpoint ges_timeline_object_set_start ges_timeline_object_set_duration diff --git a/ges/ges-timeline-object.h b/ges/ges-timeline-object.h index d2e95f58d3..b2f5417b7b 100644 --- a/ges/ges-timeline-object.h +++ b/ges/ges-timeline-object.h @@ -61,6 +61,39 @@ typedef gboolean (*FillTrackObjectFunc) (GESTimelineObject * object, GESTrackObject * trobject, GstElement * gnlobj); + +/** + * GES_TIMELINE_OBJECT_START: + * @obj: a #GESTimelineObject + * + * The start position of the object (in nanoseconds). + */ +#define GES_TIMELINE_OBJECT_START(obj) (((GESTimelineObject*)obj)->start) + +/** + * GES_TIMELINE_OBJECT_INPOINT: + * @obj: a #GESTimelineObject + * + * The in-point of the object (in nanoseconds). + */ +#define GES_TIMELINE_OBJECT_INPOINT(obj) (((GESTimelineObject*)obj)->inpoint) + +/** + * GES_TIMELINE_OBJECT_DURATION: + * @obj: a #GESTimelineObject + * + * The duration position of the object (in nanoseconds). + */ +#define GES_TIMELINE_OBJECT_DURATION(obj) (((GESTimelineObject*)obj)->duration) + +/** + * GES_TIMELINE_OBJECT_PRIORITY: + * @obj: a #GESTimelineObject + * + * The priority of the object (in nanoseconds). + */ +#define GES_TIMELINE_OBJECT_PRIORITY(obj) (((GESTimelineObject*)obj)->priority) + /** * GESTimelineObject: * @layer: the #GESTImelineLayer where this object is being used.