Initializes the GStreamer library, setting up internal path lists,
registering built-in elements, and loading standard plugins.
This function should be called before calling any other GLib functions. If
this is not an option, your program must initialise the GLib thread system
using g_thread_init() before any other GLib functions are called.
Note
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.
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins. This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called. Note 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.