mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
pbutils: fix gst_install_plugins_{sync,async} g-i annotations
the gir scanner doesn't use a sensible defaults for string array arguments, so we have to annotate it properly. https://bugzilla.gnome.org/show_bug.cgi?id=668343
This commit is contained in:
parent
14387953a0
commit
5dbb27fb50
1 changed files with 6 additions and 4 deletions
|
@ -597,8 +597,9 @@ gst_install_plugins_installer_exited (GPid pid, gint status, gpointer data)
|
|||
|
||||
/**
|
||||
* gst_install_plugins_async:
|
||||
* @details: NULL-terminated array of installer string details (see below)
|
||||
* @ctx: a #GstInstallPluginsContext, or NULL
|
||||
* @details: (array zero-terminated=1) (transfer none): NULL-terminated array
|
||||
* of installer string details (see below)
|
||||
* @ctx: (allow-none): a #GstInstallPluginsContext, or NULL
|
||||
* @func: (scope async): the function to call when the installer program returns
|
||||
* @user_data: (closure): the user data to pass to @func when called, or NULL
|
||||
*
|
||||
|
@ -656,8 +657,9 @@ gst_install_plugins_async (gchar ** details, GstInstallPluginsContext * ctx,
|
|||
|
||||
/**
|
||||
* gst_install_plugins_sync:
|
||||
* @details: NULL-terminated array of installer string details
|
||||
* @ctx: a #GstInstallPluginsContext, or NULL
|
||||
* @details: (array zero-terminated=1) (transfer none): NULL-terminated array
|
||||
* of installer string details
|
||||
* @ctx: (allow-none): a #GstInstallPluginsContext, or NULL
|
||||
*
|
||||
* Requests plugin installation and block until the plugins have been
|
||||
* installed or installation has failed.
|
||||
|
|
Loading…
Reference in a new issue