Enumeration (GI Enum)

GstPbutils-1.0GstPbutilsInstallPluginsReturn

Result codes returned by gst_install_plugins_async() and gst_install_plugins_sync(), and also the result code passed to the GstPbutils.InstallPluginsResultFunc specified with gst_install_plugins_async().

These codes indicate success or failure of starting an external installer program and to what extent the requested plugins could be installed.

Index
CRASHED: 100

the installer had an unclean exit code (ie. death by signal)

ERROR: 2

an error occurred during the installation. If this happens, the user has already seen an error message and another one should not be displayed

HELPER_MISSING: 202

the helper script to call the actual installer is not installed

INSTALL_IN_PROGRESS: 203

a previously-started plugin installation is still in progress, try again later

INTERNAL_FAILURE: 201

some internal failure has occurred when trying to start the installer

INVALID: 101

the helper returned an invalid status code

NOT_FOUND: 1

no appropriate installation candidate for any of the requested plugins could be found. Only return this if nothing has been installed. Return #GST_INSTALL_PLUGINS_PARTIAL_SUCCESS if some (but not all) of the requested plugins could be installed.

PARTIAL_SUCCESS: 3

some of the requested plugins could be installed, but not all

STARTED_OK: 200

returned by gst_install_plugins_async() to indicate that everything went fine so far and the provided callback will be called with the result of the installation later

SUCCESS: 0

all of the requested plugins could be installed

USER_ABORT: 4

the user has aborted the installation

Variables

$gtype