play: Fix annotations of parse_missing_plugins() API

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8487>
This commit is contained in:
Sebastian Dröge 2025-02-16 14:36:08 +02:00
parent 4c13d1453f
commit ad66d338dd
2 changed files with 32 additions and 16 deletions

View File

@ -2044,11 +2044,15 @@ gst_install_plugins_async().</doc>
</parameter>
<parameter name="descriptions" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of descriptions</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of installer details</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
</parameters>
</function>
@ -2255,11 +2259,15 @@ gst_install_plugins_async().</doc>
</parameter>
<parameter name="descriptions" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of descriptions</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of installer details</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
</parameters>
</function>
@ -3166,11 +3174,15 @@ gst_install_plugins_async().</doc>
</parameter>
<parameter name="descriptions" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of descriptions</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of installer details</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
</parameters>
</function>
@ -3377,11 +3389,15 @@ gst_install_plugins_async().</doc>
</parameter>
<parameter name="descriptions" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of descriptions</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<parameter name="installer_details" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c">a %NULL-terminated array of installer details</doc>
<type name="utf8" c:type="gchar***"/>
<array c:type="gchar***">
<type name="utf8" c:type="gchar**"/>
</array>
</parameter>
</parameters>
</function>

View File

@ -5168,8 +5168,8 @@ gst_play_message_parse_missing_plugin (GstMessage * msg,
/**
* gst_play_message_parse_error_missing_plugin:
* @msg: A #GstMessage
* @descriptions: (out) (optional) (transfer full): a %NULL-terminated array of descriptions
* @installer_details: (out) (optional) (nullable) (transfer full): a %NULL-terminated array of installer details
* @descriptions: (out) (optional) (transfer full) (array zero-terminated=1): a %NULL-terminated array of descriptions
* @installer_details: (out) (optional) (transfer full) (array zero-terminated=1): a %NULL-terminated array of installer details
*
* Parses missing plugin descriptions and installer details from a
* GST_PLAY_ERROR_MISSING_PLUGIN error message.
@ -5224,8 +5224,8 @@ gst_play_message_parse_warning (GstMessage * msg, GError ** error,
/**
* gst_play_message_parse_warning_missing_plugin:
* @msg: A #GstMessage
* @descriptions: (out) (optional) (transfer full): a %NULL-terminated array of descriptions
* @installer_details: (out) (optional) (nullable) (transfer full): a %NULL-terminated array of installer details
* @descriptions: (out) (optional) (transfer full) (array zero-terminated=1): a %NULL-terminated array of descriptions
* @installer_details: (out) (optional) (transfer full) (array zero-terminated=1): a %NULL-terminated array of installer details
*
* Parses missing plugin descriptions and installer details from a
* GST_PLAY_ERROR_MISSING_PLUGIN warning message.