validate: Fix GI warnings

This commit is contained in:
Thibault Saunier 2016-11-23 08:38:49 -03:00
parent b46e80080f
commit 8493b18e8c
5 changed files with 12 additions and 6 deletions

View file

@ -44,7 +44,7 @@
* gst_validate_monitor_factory_create:
* @target: The #GstObject to create a #GstValidateMonitor for
* @runner: The #GstValidateRunner to use for the new monitor
* @parent: (optional) (nullable): The parent of the new monitor
* @parent: (nullable): The parent of the new monitor
*
* Create a new monitor for @target and starts monitoring it.
*

View file

@ -135,6 +135,12 @@ gst_validate_reporter_get_reporting_level (GstValidateReporter * reporter)
return ret;
}
/**
* gst_validate_reporter_get_pipeline:
* @reporter: The reporter to get the pipeline from
*
* Returns: (transfer full) (allow-none): The #GstPipeline
*/
GstPipeline *
gst_validate_reporter_get_pipeline (GstValidateReporter * reporter)
{

View file

@ -684,7 +684,7 @@ gst_validate_runner_get_reports_count (GstValidateRunner * runner)
* gst_validate_runner_get_reports:
* @runner: The #GstValidateRunner
*
* Return: (element-type GstValidate.Report)(transfer full): all the reports
* Return: (element-type GstValidateReport)(transfer full): all the reports
*/
GList *
gst_validate_runner_get_reports (GstValidateRunner * runner)

View file

@ -3426,7 +3426,7 @@ gst_validate_action_get_scenario (GstValidateAction * action)
* retrieved with #gst_plugin_get_name when the action type
* is register inside a plugin.
* @function: (scope notified): The function to be called to execute the action
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @description: A description of the new type
* @flags: The #GstValidateActionTypeFlags to set on the new action type
*
@ -3471,7 +3471,7 @@ _free_action_types (GList * action_types)
* new implementation will be used and returned.
* @type_name: The name of the new action type to add
* @function: (scope notified): The function to be called to execute the action
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @description: A description of the new type
* @flags: The #GstValidateActionTypeFlags to be set on the new action type
*
@ -3564,7 +3564,7 @@ gst_validate_list_action_types (void)
/**
* gst_validate_print_action_types:
* @wanted_types: (array length=num_wanted_types): (optional): List of types to be printed
* @num_wanted_types: (optional): Length of @wanted_types
* @num_wanted_types: Length of @wanted_types
*
* Prints the action types details wanted in @wanted_types
*

View file

@ -160,7 +160,7 @@ typedef enum
* @name: The name of the new action type to add
* @implementer_namespace: The namespace of the implementer of the action type
* @execute: The function to be called to execute the action
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type
* @description: A description of the new type
* @flags: The flags of the action type
*/