--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.
https://bugzilla.gnome.org/show_bug.cgi?id=641712
GOptionContext *ctx;
GError *err = NULL;
- /* if we fail to create xwindow should we care? */
- if (!no_xwindow)
- create_host_window ();
-
if (!g_thread_supported ())
g_thread_init (NULL);
}
g_option_context_free (ctx);
+ /* if we fail to create xwindow should we care? */
+ if (!no_xwindow)
+ create_host_window ();
+
GST_DEBUG_CATEGORY_INIT (camerabin_test, "camerabin-test", 0,
"camerabin test");