mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-24 06:56:26 +00:00
gstreamer: Fix various gobject-introspection warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8501>
This commit is contained in:
parent
fb34f63835
commit
a4a1de05f1
5 changed files with 37 additions and 16 deletions
|
@ -22555,11 +22555,11 @@ MT safe.</doc>
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">The #GstIterator to filter</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">The #GstIterator to filter</doc>
|
||||||
<type name="Iterator" c:type="GstIterator*"/>
|
<type name="Iterator" c:type="GstIterator*"/>
|
||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
<parameter name="func" transfer-ownership="none" scope="call" closure="1">
|
<parameter name="func" transfer-ownership="none" scope="call">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">the compare function to select elements</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">the compare function to select elements</doc>
|
||||||
<type name="GLib.CompareFunc" c:type="GCompareFunc"/>
|
<type name="GLib.CompareFunc" c:type="GCompareFunc"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
|
<parameter name="user_data" transfer-ownership="none">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">user data passed to the compare function</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstiterator.c">user data passed to the compare function</doc>
|
||||||
<type name="GObject.Value" c:type="const GValue*"/>
|
<type name="GObject.Value" c:type="const GValue*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -27308,7 +27308,7 @@ write the result back into @aggregated_params.</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
<function name="api_type_set_params_aggregator" c:identifier="gst_meta_api_type_set_params_aggregator" version="1.26" introspectable="0">
|
<function name="api_type_set_params_aggregator" c:identifier="gst_meta_api_type_set_params_aggregator" version="1.26">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">This function sets the aggregator function for a specific API type.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">This function sets the aggregator function for a specific API type.</doc>
|
||||||
<source-position filename="../subprojects/gstreamer/gst/gstmeta.h"/>
|
<source-position filename="../subprojects/gstreamer/gst/gstmeta.h"/>
|
||||||
<return-value transfer-ownership="none">
|
<return-value transfer-ownership="none">
|
||||||
|
@ -27319,7 +27319,7 @@ write the result back into @aggregated_params.</doc>
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the #GType of the API for which the aggregator function is being set.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the #GType of the API for which the aggregator function is being set.</doc>
|
||||||
<type name="GType" c:type="GType"/>
|
<type name="GType" c:type="GType"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="aggregator" transfer-ownership="none">
|
<parameter name="aggregator" transfer-ownership="none" scope="forever">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the aggregator function to be associated with the given API
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the aggregator function to be associated with the given API
|
||||||
type.</doc>
|
type.</doc>
|
||||||
<type name="AllocationMetaParamsAggregator" c:type="GstAllocationMetaParamsAggregator"/>
|
<type name="AllocationMetaParamsAggregator" c:type="GstAllocationMetaParamsAggregator"/>
|
||||||
|
@ -49611,6 +49611,7 @@ indicate its parameter handling preference.</doc>
|
||||||
</return-value>
|
</return-value>
|
||||||
<parameters>
|
<parameters>
|
||||||
<instance-parameter name="tracer_class" transfer-ownership="none">
|
<instance-parameter name="tracer_class" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gsttracer.c">the #GstTracerFactoryClass to mark as using structure parameters</doc>
|
||||||
<type name="TracerClass" c:type="GstTracerClass*"/>
|
<type name="TracerClass" c:type="GstTracerClass*"/>
|
||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
<parameter name="use_structure_params" transfer-ownership="none">
|
<parameter name="use_structure_params" transfer-ownership="none">
|
||||||
|
@ -49630,6 +49631,7 @@ fields as properties to instanciate the tracer.</doc>
|
||||||
</return-value>
|
</return-value>
|
||||||
<parameters>
|
<parameters>
|
||||||
<instance-parameter name="tracer_class" transfer-ownership="none">
|
<instance-parameter name="tracer_class" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gsttracer.c">the #GstTracerClass to to check</doc>
|
||||||
<type name="TracerClass" c:type="GstTracerClass*"/>
|
<type name="TracerClass" c:type="GstTracerClass*"/>
|
||||||
</instance-parameter>
|
</instance-parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -55338,6 +55340,24 @@ write the result back into @aggregated_params.</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="meta_api_type_set_params_aggregator" c:identifier="gst_meta_api_type_set_params_aggregator" moved-to="Meta.api_type_set_params_aggregator" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">This function sets the aggregator function for a specific API type.</doc>
|
||||||
|
<source-position filename="../subprojects/gstreamer/gst/gstmeta.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="api" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the #GType of the API for which the aggregator function is being set.</doc>
|
||||||
|
<type name="GType" c:type="GType"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="aggregator" transfer-ownership="none" scope="forever">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">the aggregator function to be associated with the given API
|
||||||
|
type.</doc>
|
||||||
|
<type name="AllocationMetaParamsAggregator" c:type="GstAllocationMetaParamsAggregator"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="meta_deserialize" c:identifier="gst_meta_deserialize" moved-to="Meta.deserialize" version="1.24">
|
<function name="meta_deserialize" c:identifier="gst_meta_deserialize" moved-to="Meta.deserialize" version="1.24">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">Recreate a #GstMeta from serialized data returned by
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstmeta.c">Recreate a #GstMeta from serialized data returned by
|
||||||
gst_meta_serialize() and add it to @buffer.
|
gst_meta_serialize() and add it to @buffer.
|
||||||
|
@ -57499,7 +57519,8 @@ the result.</doc>
|
||||||
<type name="guint" c:type="guint"/>
|
<type name="guint" c:type="guint"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="x" transfer-ownership="none">
|
<parameter name="v" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/gst/gstutils.c">a #guint32 value.</doc>
|
||||||
<type name="guint32" c:type="guint32"/>
|
<type name="guint32" c:type="guint32"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
|
@ -529,7 +529,7 @@ filter_free (GstIteratorFilter * it)
|
||||||
/**
|
/**
|
||||||
* gst_iterator_filter:
|
* gst_iterator_filter:
|
||||||
* @it: The #GstIterator to filter
|
* @it: The #GstIterator to filter
|
||||||
* @func: (scope call) (closure user_data): the compare function to select elements
|
* @func: (scope call): the compare function to select elements
|
||||||
* @user_data: user data passed to the compare function
|
* @user_data: user data passed to the compare function
|
||||||
*
|
*
|
||||||
* Create a new iterator from an existing iterator. The new iterator
|
* Create a new iterator from an existing iterator. The new iterator
|
||||||
|
|
|
@ -450,7 +450,7 @@ gst_meta_api_type_aggregate_params (GType api,
|
||||||
/**
|
/**
|
||||||
* gst_meta_api_type_set_params_aggregator:
|
* gst_meta_api_type_set_params_aggregator:
|
||||||
* @api: the #GType of the API for which the aggregator function is being set.
|
* @api: the #GType of the API for which the aggregator function is being set.
|
||||||
* @aggregator: the aggregator function to be associated with the given API
|
* @aggregator: (scope forever): the aggregator function to be associated with the given API
|
||||||
* type.
|
* type.
|
||||||
*
|
*
|
||||||
* This function sets the aggregator function for a specific API type.
|
* This function sets the aggregator function for a specific API type.
|
||||||
|
|
|
@ -207,7 +207,7 @@ gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_tracer_class_uses_structure_params:
|
* gst_tracer_class_uses_structure_params:
|
||||||
* @klass: the #GstTracerClass to to check
|
* @tracer_class: the #GstTracerClass to to check
|
||||||
*
|
*
|
||||||
* If set, the tracer subsystem will consider parameters passed to the
|
* If set, the tracer subsystem will consider parameters passed to the
|
||||||
* `GST_TRACERS` environment variable as a #GstStructure and use its
|
* `GST_TRACERS` environment variable as a #GstStructure and use its
|
||||||
|
@ -218,17 +218,17 @@ gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type)
|
||||||
* Since: 1.26
|
* Since: 1.26
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
gst_tracer_class_uses_structure_params (GstTracerClass * klass)
|
gst_tracer_class_uses_structure_params (GstTracerClass * tracer_class)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GST_IS_TRACER_CLASS (klass), FALSE);
|
g_return_val_if_fail (GST_IS_TRACER_CLASS (tracer_class), FALSE);
|
||||||
|
|
||||||
return G_TYPE_CLASS_GET_PRIVATE (klass, GST_TYPE_TRACER,
|
return G_TYPE_CLASS_GET_PRIVATE (tracer_class, GST_TYPE_TRACER,
|
||||||
GstTracerClassPrivate)->use_structure_params;
|
GstTracerClassPrivate)->use_structure_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_tracer_class_set_use_structure_params:
|
* gst_tracer_class_set_use_structure_params:
|
||||||
* @klass: the #GstTracerFactoryClass to mark as using structure parameters
|
* @tracer_class: the #GstTracerFactoryClass to mark as using structure parameters
|
||||||
* @use_structure_params: %TRUE to use structure parameters, %FALSE otherwise
|
* @use_structure_params: %TRUE to use structure parameters, %FALSE otherwise
|
||||||
*
|
*
|
||||||
* Sets whether the tracer should use structure parameters for configuration.
|
* Sets whether the tracer should use structure parameters for configuration.
|
||||||
|
@ -241,11 +241,11 @@ gst_tracer_class_uses_structure_params (GstTracerClass * klass)
|
||||||
* Since: 1.26
|
* Since: 1.26
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gst_tracer_class_set_use_structure_params (GstTracerClass * klass,
|
gst_tracer_class_set_use_structure_params (GstTracerClass * tracer_class,
|
||||||
gboolean use_structure_params)
|
gboolean use_structure_params)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GST_IS_TRACER_CLASS (klass));
|
g_return_if_fail (GST_IS_TRACER_CLASS (tracer_class));
|
||||||
|
|
||||||
G_TYPE_CLASS_GET_PRIVATE (klass, GST_TYPE_TRACER,
|
G_TYPE_CLASS_GET_PRIVATE (tracer_class, GST_TYPE_TRACER,
|
||||||
GstTracerClassPrivate)->use_structure_params = use_structure_params;
|
GstTracerClassPrivate)->use_structure_params = use_structure_params;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1247,7 +1247,7 @@ GST_API
|
||||||
guint gst_util_ceil_log2 (guint32 v);
|
guint gst_util_ceil_log2 (guint32 v);
|
||||||
|
|
||||||
GST_API
|
GST_API
|
||||||
guint gst_util_floor_log2 (guint32 x);
|
guint gst_util_floor_log2 (guint32 v);
|
||||||
|
|
||||||
GST_API
|
GST_API
|
||||||
gint gst_util_filename_compare (const gchar *a, const gchar *b);
|
gint gst_util_filename_compare (const gchar *a, const gchar *b);
|
||||||
|
|
Loading…
Reference in a new issue