Import line: | GstPbutils = imports.gi.GstPbutils; |
GIR File: | GstPbutils-0.10.gir |
C documentation: | GstPbutils |
Namespace : | GstPbutils |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
GstPbutils.install_plugins_async
(Array details, InstallPluginsContext ctx, Function func, void* user_data)
:
GstPbutils.InstallPluginsReturn
Requests plugin installation without blocking.
Requests plugin installation without blocking. Once the plugins have been installed or installation has failed, func will be called with the result of the installation and your provided user_data pointer. This function requires a running GLib/Gtk main loop. If you are not running a GLib/Gtk main loop, make sure to regularly call g_main_context_iteration(NULL,FALSE). The installer strings that make up detail are typically obtained by calling gst_missing_plugin_message_get_installer_detail() on missing-plugin messages that have been caught on a pipeline's bus or created by the application via the provided API, such as gst_missing_element_message_new(). It is possible to request the installation of multiple missing plugins in one go (as might be required if there is a demuxer for a certain format installed but no suitable video decoder and no suitable audio decoder).
|
GstPbutils | |
GstPbutils.install_plugins_installation_in_progress
()
:
Boolean
Checks whether plugin installation (initiated by this application only) is currently in progress.
Checks whether plugin installation (initiated by this application only) is currently in progress.
|
GstPbutils | |
Convenience function to return the descriptive string associated with a status code.
Convenience function to return the descriptive string associated with a status code. This function returns English strings and should not be used for user messages. It is here only to assist in debugging.
|
GstPbutils | |
GstPbutils.install_plugins_supported
()
:
Boolean
Checks whether plugin installation is likely to be supported by the current environment.
Checks whether plugin installation is likely to be supported by the current environment. This currently only checks whether the helper script that is to be provided by the distribution or operating system vendor exists.
|
GstPbutils | |
GstPbutils.install_plugins_sync
(Array details, InstallPluginsContext ctx)
:
GstPbutils.InstallPluginsReturn
Requests plugin installation and block until the plugins have been installed or installation has failed.
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 gst_install_plugins_async() instead of this function.
|
GstPbutils | |
Checks whether msg is a missing plugins message.
Checks whether msg is a missing plugins message.
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
|
GstPbutils | |
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing.
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
|
GstPbutils | |
Creates a missing-plugin message for element to notify the application that a certain required element is missing.
Creates a missing-plugin message for element to notify the application that a certain required element is missing. This function is mainly for use in plugins.
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
|
GstPbutils | |
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing.
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing. This function is mainly for use in plugins.
|
GstPbutils | |
Returns a localised string describing the missing feature, for use in error dialogs and the like.
Returns a localised string describing the missing feature, for use in error dialogs and the like. Should never return NULL unless msg is not a valid missing-plugin message. This function is mainly for applications that need a human-readable string describing a missing plugin, given a previously collected missing-plugin message
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions.
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
|
GstPbutils | |
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing.
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing. This function is mainly for use in plugins.
|
GstPbutils | |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync(). This function is mainly for applications that call external plugin installation mechanisms using one of the two above-mentioned functions in the case where the application knows exactly what kind of plugin it is missing.
|
GstPbutils | |
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing.
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing. This function is mainly for use in plugins.
|
GstPbutils | |
GstPbutils.pb_utils_add_codec_description_to_tag_list
(TagList taglist, String codec_tag, Caps caps)
:
Boolean
Adds a codec tag describing the format specified by caps to taglist.
Adds a codec tag describing the format specified by caps to taglist.
|
GstPbutils | |
Returns a localised (as far as this is possible) string describing the media format specified in caps, for use in error dialogs or other messages to be seen by the user.
Returns a localised (as far as this is possible) string describing the media format specified in caps, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless caps is invalid. Also see the convenience function gst_pb_utils_add_codec_description_to_tag_list().
|
GstPbutils | |
Returns a localised string describing an decoder for the format specified in caps, for use in error dialogs or other messages to be seen by the user.
Returns a localised string describing an decoder for the format specified in caps, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless factory_name or caps are invalid. This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.
|
GstPbutils | |
Returns a localised string describing the given element, for use in error dialogs or other messages to be seen by the user.
Returns a localised string describing the given element, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless factory_name is invalid. This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.
|
GstPbutils | |
Returns a localised string describing an encoder for the format specified in caps, for use in error dialogs or other messages to be seen by the user.
Returns a localised string describing an encoder for the format specified in caps, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless factory_name or caps are invalid. This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.
|
GstPbutils | |
Returns a localised string describing a sink element handling the protocol specified in protocol, for use in error dialogs or other messages to be seen by the user.
Returns a localised string describing a sink element handling the protocol specified in protocol, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless protocol is invalid. This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.
|
GstPbutils | |
Returns a localised string describing a source element handling the protocol specified in protocol, for use in error dialogs or other messages to be seen by the user.
Returns a localised string describing a source element handling the protocol specified in protocol, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless protocol is invalid. This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.
|
GstPbutils | |
GstPbutils.pb_utils_init
()
:
none
Initialises the base utils support library.
Initialises the base utils support library. This function is not thread-safe. Applications should call it after calling gst_init(), plugins should call it from their plugin_init function. This function may be called multiple times. It will do nothing if the library has already been initialised.
|
GstPbutils |
None |