summaryrefslogtreecommitdiff
path: root/ges/ges-timeline-element.h
diff options
context:
space:
mode:
Diffstat (limited to 'ges/ges-timeline-element.h')
-rw-r--r--ges/ges-timeline-element.h46
1 files changed, 37 insertions, 9 deletions
diff --git a/ges/ges-timeline-element.h b/ges/ges-timeline-element.h
index 84240f8c58..80fbd6ff74 100644
--- a/ges/ges-timeline-element.h
+++ b/ges/ges-timeline-element.h
@@ -214,14 +214,6 @@ struct _GESTimelineElement
* to redirect property names. Or overwrite to change which child is
* returned if multiple children share the same child property name.
* @get_track_types: Return a the track types for the element.
- * @set_child_property: Method for setting the child property given by
- * @pspec on @child to @value. Default implementation will use
- * g_object_set_property().
- * @set_child_property_full: Similar to @set_child_property, except
- * setting can fail, with the @error being optionally set. Default
- * implementation will call @set_child_property and return %TRUE.
- * @get_layer_priority: Get the #GESLayer:priority of the layer that this
- * element is part of. (Since: 1.18)
* @list_children_properties: List the children properties that have been
* registered for the element. The default implementation is able to fetch
* all of these, so should be sufficient. If you overwrite this, you
@@ -268,16 +260,52 @@ struct _GESTimelineElementClass
gboolean (*lookup_child) (GESTimelineElement *self, const gchar *prop_name,
GObject **child, GParamSpec **pspec);
GESTrackType (*get_track_types) (GESTimelineElement * self);
+
+ /**
+ * GESTimelineElementClass::set_child_property:
+ *
+ * Method for setting the child property given by
+ * @pspec on @child to @value. Default implementation will use
+ * g_object_set_property().
+ *
+ * Since: 1.16
+ */
void (*set_child_property) (GESTimelineElement * self,
GObject *child,
GParamSpec *pspec,
GValue *value);
+ /**
+ * GESTimelineElementClass::get_layer_priority:
+ *
+ * Get the #GESLayer:priority of the layer that this
+ * element is part of.
+ *
+ * Since: 1.16
+ */
guint32 (*get_layer_priority) (GESTimelineElement *self);
- /*< private > */
+ /**
+ * GESTimelineElementClass::get_natural_framerate:
+ * @self: A #GESTimelineElement
+ * @framerate_n: The framerate numerator to retrieve
+ * @framerate_d: The framerate denominator to retrieve
+ *
+ * Returns: %TRUE if @self has a natural framerate @FALSE otherwise.
+ *
+ * Since: 1.18
+ */
gboolean (*get_natural_framerate) (GESTimelineElement * self, gint *framerate_n, gint *framerate_d);
+ /**
+ * GESTimelineElementClass::set_child_property_full:
+ *
+ * Similar to @set_child_property, except setting can fail, with the @error
+ * being optionally set. Default implementation will call @set_child_property
+ * and return %TRUE.
+ *
+ * Since: 1.18
+ */
gboolean (*set_child_property_full) (GESTimelineElement * self,
GObject *child,
GParamSpec *pspec,