GStreamer.init

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

Unless the plugin registry is disabled at compile time, the registry will be loaded. By default this will also check if the registry cache needs to be updated and rescan all plugins if needed. See gst_update_registry() for details and section <link linkend="gst-running">Running GStreamer Applications</link> for how to disable automatic registry updates.

> This function will terminate your program if it was unable to initialize > GStreamer for some reason. If you want your program to fall back, > use gst_init_check() instead.

WARNING: This function does not work in the same way as corresponding functions in other glib-style libraries, such as gtk_init\(\). In particular, unknown command line options cause this function to abort program execution.

struct GStreamer
static
void
init
(
ref string[] argv
)

Parameters

argv string[]

pointer to application's argv