The GST_INFO ("initialized GStreamer succesfully") is currently at the end of
gst_init_check which isn't guaranteed to be run since GStreamer can be
initialized by using init_pre and init_post directly from GOptionContext like
gst-launch does. Ensure this message is displayed by moving it to init_post.
gst_initialized = res;
- if (res) {
- GST_INFO ("initialized GStreamer successfully");
- } else {
- GST_INFO ("failed to initialize GStreamer");
- }
-
g_mutex_unlock (&init_lock);
return res;
glib_minor_version, glib_micro_version);
GST_INFO ("GLib headers version: %d.%d.%d", GLIB_MAJOR_VERSION,
GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
+ GST_INFO ("initialized GStreamer successfully");
return TRUE;
}