mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
validate: fix g-i warnings
gst-validate-utils.c:914: gst_validate_element_matches_target: unknown parameter 'structure' in documentation comment, should be 's' gst-validate-override-registry.h:49: gst_validate_override_registry_get_override_list: return value: Missing (element-type) annotation
This commit is contained in:
parent
2d24674b6c
commit
d99994a849
3 changed files with 8 additions and 2 deletions
|
@ -461,6 +461,12 @@ GList *gst_validate_override_registry_get_override_for_names
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_validate_override_registry_get_override_list:
|
||||||
|
* @registry: the override registry
|
||||||
|
*
|
||||||
|
* Returns: (transfer full) (element-type GstValidateOverride): a list of #GstValidateOverride
|
||||||
|
*/
|
||||||
GList *
|
GList *
|
||||||
gst_validate_override_registry_get_override_list (GstValidateOverrideRegistry *
|
gst_validate_override_registry_get_override_list (GstValidateOverrideRegistry *
|
||||||
registry)
|
registry)
|
||||||
|
|
|
@ -46,7 +46,7 @@ GST_VALIDATE_API GList *
|
||||||
gst_validate_override_registry_get_override_for_names (GstValidateOverrideRegistry *reg,
|
gst_validate_override_registry_get_override_for_names (GstValidateOverrideRegistry *reg,
|
||||||
const gchar *name, ...);
|
const gchar *name, ...);
|
||||||
GST_VALIDATE_API GList *
|
GST_VALIDATE_API GList *
|
||||||
gst_validate_override_registry_get_override_list (GstValidateOverrideRegistry *reg);
|
gst_validate_override_registry_get_override_list (GstValidateOverrideRegistry *registry);
|
||||||
GST_VALIDATE_API
|
GST_VALIDATE_API
|
||||||
void gst_validate_override_register_by_name (const gchar * name, GstValidateOverride * override);
|
void gst_validate_override_register_by_name (const gchar * name, GstValidateOverride * override);
|
||||||
GST_VALIDATE_API
|
GST_VALIDATE_API
|
||||||
|
|
|
@ -911,7 +911,7 @@ gst_validate_spin_on_fault_signals (void)
|
||||||
/**
|
/**
|
||||||
* gst_validate_element_matches_target:
|
* gst_validate_element_matches_target:
|
||||||
* @element: a #GstElement to check
|
* @element: a #GstElement to check
|
||||||
* @structure: a #GstStructure to use for matching
|
* @s: a #GstStructure to use for matching
|
||||||
*
|
*
|
||||||
* Check if @element matches one of the 'target-element-name',
|
* Check if @element matches one of the 'target-element-name',
|
||||||
* 'target-element-klass' or 'target-element-factory-name' defined in @s.
|
* 'target-element-klass' or 'target-element-factory-name' defined in @s.
|
||||||
|
|
Loading…
Reference in a new issue