|  |  |  | GStreamer Editing Services 0.10.0.4 Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
| GESCustomTimelineSourceGESCustomTimelineSource — Convenience GESTimelineSource | 
#include <ges/ges.h>
                    GESCustomTimelineSource;
gboolean            (*GESFillTrackObjectUserFunc)       (GESTimelineObject *object,
                                                         GESTrackObject *trobject,
                                                         GstElement *gnlobj,
                                                         gpointer user_data);
GESCustomTimelineSource * ges_custom_timeline_source_new
                                                        (GESFillTrackObjectUserFunc func,
                                                         gpointer user_data);
GObject +----GInitiallyUnowned +----GESTimelineObject +----GESTimelineSource +----GESCustomTimelineSource
GESCustomTimelineSource allows creating GESTimelineSource(s) without the need to subclass.
Its usage should be limited to testing and prototyping purposes.
typedef struct _GESCustomTimelineSource GESCustomTimelineSource;
Debugging custom timeline source
gboolean (*GESFillTrackObjectUserFunc) (GESTimelineObject *object,GESTrackObject *trobject,GstElement *gnlobj,gpointer user_data);
A function that will be called when the GNonLin object of a corresponding track object needs to be filled.
The implementer of this function shall add the proper GstElement to gnlobj
using gst_bin_add().
| 
 | the GESTimelineObject controlling the track object | 
| 
 | the GESTrackObject | 
| 
 | the GNonLin object that needs to be filled. | 
| 
 | the gpointer to optional user data | 
| Returns : | TRUE if the implementer succesfully filled the gnlobj, else FALSE. | 
GESCustomTimelineSource * ges_custom_timeline_source_new (GESFillTrackObjectUserFunc func,gpointer user_data);
Creates a new GESCustomTimelineSource.
| 
 | The GESFillTrackObjectUserFunc that will be used to fill the track objects. | 
| 
 | a gpointer that will be used when funcis called. | 
| Returns : | The new GESCustomTimelineSource. |