validate: Add missing GstValidateAction annotations

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/233>
This commit is contained in:
Thibault Saunier 2020-12-15 18:18:29 -03:00
parent f1de7c3a7f
commit 6419f1f881

View 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,