summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2020-12-15 18:18:29 -0300
committerThibault Saunier <tsaunier@igalia.com>2020-12-16 22:00:37 -0300
commit6419f1f881ce4f16c98f900c16d148c995377890 (patch)
tree5523a145a6889995f42ff2f4a4cb8a4592429134
parentf1de7c3a7fb813e7eec3ccee03f881368a662bea (diff)
validate: Add missing GstValidateAction annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/233>
-rw-r--r--validate/gst/validate/gst-validate-scenario.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c
index 950d266..b7832b0 100644
--- a/validate/gst/validate/gst-validate-scenario.c
+++ b/validate/gst/validate/gst-validate-scenario.c
@@ -506,6 +506,15 @@ gst_validate_action_unref (GstValidateAction * action)
gst_mini_object_unref (GST_MINI_OBJECT (action));
}
+/**
+ * gst_validate_action_new:
+ * @scenario: (allow-none): The scenario executing the action
+ * @action_type: The action type
+ * @structure: The structure containing the action arguments
+ * @add_to_lists: Weather the action should be added to the scenario action list
+ *
+ * Returns: A newly created #GstValidateAction
+ */
GstValidateAction *
gst_validate_action_new (GstValidateScenario * scenario,
GstValidateActionType * action_type, GstStructure * structure,