mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
add create_track_objects declarations
This commit is contained in:
parent
d6d7eb8398
commit
dca01a3c0e
1 changed files with 13 additions and 3 deletions
|
@ -67,8 +67,11 @@ typedef gboolean (*FillTrackObjectFunc) (GESTimelineObject * object,
|
||||||
* @object: a #GESTimelineObject
|
* @object: a #GESTimelineObject
|
||||||
* @track: a #GESTrack
|
* @track: a #GESTrack
|
||||||
*
|
*
|
||||||
* A function that will be called when the @object is added to a
|
* Creates the 'primary track object for this @object.
|
||||||
* #GESTimelineLayer.
|
*
|
||||||
|
* Implementors should override this function if they only need to create one
|
||||||
|
* track object per track. If the implementor wishes to create multiple track
|
||||||
|
* objects, they should override create_track_objects instead.
|
||||||
*
|
*
|
||||||
* The implementer of this function shall return the proper #GESTrackObject
|
* The implementer of this function shall return the proper #GESTrackObject
|
||||||
* that should be controlled by @object for the given @track.
|
* that should be controlled by @object for the given @track.
|
||||||
|
@ -140,7 +143,9 @@ struct _GESTimelineObject {
|
||||||
/**
|
/**
|
||||||
* GESTimelineObjectClass:
|
* GESTimelineObjectClass:
|
||||||
* @parent_class: object parent class
|
* @parent_class: object parent class
|
||||||
* @create_track_object: method to create a #GESTrackObject for a given #GESTrack.
|
* @create_track_object: method to create a single #GESTrackObject for a given #GESTrack.
|
||||||
|
* @create_track_objects: method to crate multiple #GESTrackObjects for a
|
||||||
|
* #GESTrack.
|
||||||
* @fill_track_object: method to fill an associated #GESTrackObject.
|
* @fill_track_object: method to fill an associated #GESTrackObject.
|
||||||
* @need_fill_track: Set to TRUE if @fill_track_object needs to be called.
|
* @need_fill_track: Set to TRUE if @fill_track_object needs to be called.
|
||||||
*
|
*
|
||||||
|
@ -150,6 +155,8 @@ struct _GESTimelineObjectClass {
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
CreateTrackObjectFunc create_track_object;
|
CreateTrackObjectFunc create_track_object;
|
||||||
|
CreateTrackObjectsFunc create_track_objects;
|
||||||
|
|
||||||
/* FIXME : might need a release_track_object */
|
/* FIXME : might need a release_track_object */
|
||||||
FillTrackObjectFunc fill_track_object;
|
FillTrackObjectFunc fill_track_object;
|
||||||
gboolean need_fill_track;
|
gboolean need_fill_track;
|
||||||
|
@ -169,6 +176,9 @@ GESTrackObject *
|
||||||
ges_timeline_object_create_track_object (GESTimelineObject * object,
|
ges_timeline_object_create_track_object (GESTimelineObject * object,
|
||||||
GESTrack * track);
|
GESTrack * track);
|
||||||
|
|
||||||
|
gboolean ges_timeline_object_create_track_objects (GESTimelineObject *
|
||||||
|
object, GESTrack * track);
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
ges_timeline_object_release_track_object (GESTimelineObject * object,
|
ges_timeline_object_release_track_object (GESTimelineObject * object,
|
||||||
GESTrackObject * trackobject);
|
GESTrackObject * trackobject);
|
||||||
|
|
Loading…
Reference in a new issue