GStreamer

Members

Static functions

deinit
void deinit()

Clean up any resources created by GStreamer in gst_init().

init
void init(string[] argv)

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

initCheck
bool initCheck(string[] argv)

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

initGetOptionGroup
OptionGroup initGetOptionGroup()

Returns a glib.OptionGroup with GStreamer's argument specifications. The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.

isInitialized
bool isInitialized()

Use this function to check if GStreamer has been initialized with gst_init() or gst_init_check().

segtrapIsEnabled
bool segtrapIsEnabled()

Some functions in the GStreamer core might install a custom SIGSEGV handler to better catch and report errors to the application. Currently this feature is enabled by default when loading plugins.

segtrapSetEnabled
void segtrapSetEnabled(bool enabled)

Applications might want to disable/enable the SIGSEGV handling of the GStreamer core. See gst_segtrap_is_enabled() for more information.

updateRegistry
bool updateRegistry()

Forces GStreamer to re-scan its plugin paths and update the default plugin registry.

versionString
string versionString()

This function returns a string that is useful for describing this version of GStreamer to the outside world: user agent strings, logging, ...

version_
void version_(uint major, uint minor, uint micro, uint nano)

Gets the version number of the GStreamer library.