| Gnonlin Reference Manual |
|---|
GnlComposition —
struct GnlComposition; enum GnlFindMethod; GnlComposition* gnl_composition_new (const gchar *name); void gnl_composition_add_object (GnlComposition *comp, GnlObject *object); void gnl_composition_remove_object (GnlComposition *comp, GnlObject *object); GnlObject* gnl_composition_find_object (GnlComposition *comp, GstClockTime time, GnlFindMethod method);
GObject
+----GstObject
+----GstElement
+----GstBin
+----GnlObject
+----GnlComposition
+----GnlGroup
+----GnlTimeline
GnlComposition* gnl_composition_new (const gchar *name);
| name : | the name of the composition |
| Returns : | an initialized GnlComposition |
void gnl_composition_add_object (GnlComposition *comp, GnlObject *object);
| comp : | The GnlComposition to add an object to |
| object : | The GnlObject to add to the composition |
void gnl_composition_remove_object (GnlComposition *comp, GnlObject *object);
| comp : | The GnlComposition to remove an object from |
| object : | The GnlObject to remove from the composition |
GnlObject* gnl_composition_find_object (GnlComposition *comp, GstClockTime time, GnlFindMethod method);
| comp : | The GnlComposition to look into |
| time : | The time to start looking at |
| method : | The GnlFindMethod used to look to the object |
| Returns : | The GnlObject found , or NULL if none |
| << GnlSource | GnlObject >> |