Add documentation and plug a leak at the same time.
API: ges_track_object_copy
ges_track_object_get_child_property_valist
ges_track_object_get_child_property_by_pspec
ges_track_object_edit
+ges_track_object_copy
<SUBSECTION Standard>
GES_TRACK_OBJECT_DURATION
GES_TRACK_OBJECT_INPOINT
GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
#define GST_CAT_DEFAULT _ges_debug
-
-GESTrackObject *
-ges_track_object_copy (GESTrackObject * object, gboolean deep);
-
gboolean
timeline_ripple_object (GESTimeline *timeline, GESTrackObject *obj,
GList * layers, GESEdge edge,
object->priv->maxduration = maxduration;
}
+/**
+ * ges_track_object_copy:
+ * @object: The #GESTrackObject to copy
+ * @deep: whether we want to create the gnlobject and copy it properties
+ *
+ * Copies @object
+ *
+ * Returns: The newly create #GESTrackObject, copied from @object
+ *
+ * Since: 0.10.XX
+ */
GESTrackObject *
ges_track_object_copy (GESTrackObject * object, gboolean deep)
{
ret = g_object_newv (G_TYPE_FROM_INSTANCE (object), n_params, params);
g_free (specs);
g_free (params);
+ specs = NULL;
+ params = NULL;
if (deep == FALSE)
return ret;
g_value_unset (&val);
}
+ g_free (specs);
+ g_free (params);
+
return ret;
}
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
+GESTrackObject * ges_track_object_copy (GESTrackObject * object,
+ gboolean deep);
+
gboolean
ges_track_object_edit (GESTrackObject * object,
GList *layers, GESEditMode mode,