index 0310a748ca000856915fd84dcdcaccbfdd705d56..d54c65686cc21b08acba1a853d695deb48bf33c0 100644 (file)
# include "config.h"
#endif
# include "config.h"
#endif
-#include <string.h>
-
-#include <gst/gst.h>
#include <gst/gst_private.h>
#include <gst/gst_private.h>
+#include <gst/gst.h>
+
+#include <string.h>
int
main (int argc, char *argv[])
int
main (int argc, char *argv[])
if (argc != 2 || strcmp (argv[1], "-l"))
return 1;
if (argc != 2 || strcmp (argv[1], "-l"))
return 1;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
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_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;
#ifndef GST_DISABLE_REGISTRY
_gst_disable_registry_cache = TRUE;