X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fgstreamer0-10.git;a=blobdiff_plain;f=libs%2Fgst%2Fhelpers%2Fgst-plugin-scanner.c;h=d54c65686cc21b08acba1a853d695deb48bf33c0;hp=04057281019eb19aa0dcc60915be7079c912833f;hb=HEAD;hpb=a9d1a493a79d72ac5fbe578bc8160f0637c69619 diff --git a/libs/gst/helpers/gst-plugin-scanner.c b/libs/gst/helpers/gst-plugin-scanner.c index 040572810..d54c65686 100644 --- a/libs/gst/helpers/gst-plugin-scanner.c +++ b/libs/gst/helpers/gst-plugin-scanner.c @@ -41,8 +41,10 @@ main (int argc, char *argv[]) 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 *));