install_plugins_sync


Description:

[ CCode ( cname = "gst_install_plugins_sync" ) ]
public InstallPluginsReturn install_plugins_sync (string[] details, InstallPluginsContext? ctx)

Requests plugin installation and block until the plugins have been installed or installation has failed.

This function should almost never be used, it only exists for cases where a non-GLib main loop is running and the user wants to run it in a separate thread and marshal the result back asynchronously into the main thread using the other non-GLib main loop. You should almost always use install_plugins_async instead of this function.

Parameters:

details

NULL-terminated array of installer string details

ctx

a InstallPluginsContext, or NULL

Returns:

the result of the installation.


Namespace: Gst.PbUtils



2022 vala-language.org