validate: Add missing GstValidateAction annotations
authorThibault Saunier <tsaunier@igalia.com>
Tue, 15 Dec 2020 21:18:29 +0000 (18:18 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 17 Dec 2020 01:00:37 +0000 (22:00 -0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/233>

validate/gst/validate/gst-validate-scenario.c

index 950d266..b7832b0 100644 (file)
@@ -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,