void GstBase::gst_wrap_init | ( | ) |
Initializes wrapping system of Gst::MiniObject derrived classes.
There is no need to use this function directly; instead use one of the GstBase::init() or GstBase::init_check() functions.
void GstBase::init | ( | ) |
Initializes gstreamerbasemm and gstreamermm, if it is not already initialized, without parsing command line options.
One of the GstBase::init() or GstBase::init_check() functions should be used to initialize gstreamerbasemm before using it. This function calls Gst::init() if it has not been called already so this function may be used instead of that one to initialize both gstreamermm and gstreamerbasemm. If this function is used to initialize gstreamermm it must be used before any other GLib functions. If this is not an option, and you want to initialize gstreamermm along with gstreamerbasemm, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or GstBase::init_check() without the command line arguments before calling any gstreamermm or gstreamerbasemm functions. GLib thread initialization can be done as follows:
if (!Glib::thread_supported ())
Glib::thread_init ();
...
void GstBase::init | ( | int & | argc, | |
char **& | argv | |||
) |
Initializes gstreamerbasemm and gstreamermm, if it is not already initialized, parsing command line arguments.
One of the GstBase::init() or GstBase::init_check() functions should be used to initialize gstreamerbasemm before using it. This function calls Gst::init() with the command line arguments if it has not been called already so this function may be used instead of that one to initialize both gstreamermm and gstreamerbasemm. If this function is used to initialize gstreamermm it must be used before any other GLib functions. If this is not an option, and you want you initialize gstreamermm along with gstreamerbasemm, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either GstBase::init(), or GstBase::init_check() without the command line arguments before calling any gstreamermm or gstreamerbasemm functions. GLib thread initialization can be done as follows:
if (!Glib::thread_supported ())
Glib::thread_init ();
...
argc | Reference to application's argc. | |
argv | Reference to application's argv. |
bool GstBase::init_check | ( | ) |
Initializes gstreamerbasemm and gstreamermm gracefully, if it is not already initialized, without parsing command line options.
One of the GstBase::init() or GstBase::init_check() functions should be used to initialize gstreamerbasemm before using it. This function calls Gst::init_check() if it has not been called already so this function may be used instead of that one to initialize both gstreamermm and gstreamerbasemm. If this function is used to initialize gstreamermm it must be used before any other GLib functions. If this is not an option, and you want to initialize gstreamermm along with gstreamerbasemm, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or GstBase::init() without the command line arguments before calling any gstreamermm or gstreamerbasemm functions. GLib thread initialization can be done as follows:
if (!Glib::thread_supported ())
Glib::thread_init ();
...
Glib::Error |
bool GstBase::init_check | ( | int & | argc, | |
char **& | argv | |||
) |
Initializes gstreamerbasemm and gstreamermm gracefully, if it is not already initialized, parsing command line options.
One of the GstBase::init() or GstBase::init_check() functions should be used to initialize gstreamerbasemm before using it. This function calls Gst::init_check() with the command line arguments if it has not been called already so this function may be used instead of that one to initialize both gstreamermm and gstreamerbasemm. If this function is used to initialize gstreamermm it must be used before any other GLib functions. If this is not an option, and you want to initialize gstreamermm along with gstreamerbasemm, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either GstBase::init() or GstBase::init_check() without the command line arguments before calling any gstreamermm or gstreamerbasemm functions. GLib thread initialization can be done as follows:
if (!Glib::thread_supported ())
Glib::thread_init ();
...
argc | Reference to application's argc. | |
argv | Reference to application's argv. |
Glib::Error |
void GstBase::wrap_init | ( | ) |
Initializes the main gstreamerbasemm wrapping system.
There's no need to use this function directly; instead use one of the GstBase::init() or GstBase::init_check() functions.