index baa3019c779db890ea551bf3a6afd971608e28a7..d54c65686cc21b08acba1a853d695deb48bf33c0 100644 (file)
if (argc != 2 || strcmp (argv[1], "-l"))
return 1;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
my_argc = 2;
my_argv = g_malloc (my_argc * sizeof (char *));
my_argv[0] = argv[0];
- my_argv[1] = "--gst-disable-registry-update";
+ my_argv[1] = (char *) "--gst-disable-registry-update";
#ifndef GST_DISABLE_REGISTRY
_gst_disable_registry_cache = TRUE;