g_thread_init() is deprecated in glib master
[platform/upstream/gstreamer.git] / tools / gst-launch.c
index ea99b8f..b801d03 100644 (file)
@@ -971,7 +971,9 @@ main (int argc, char *argv[])
   textdomain (GETTEXT_PACKAGE);
 #endif
 
+#if !GLIB_CHECK_VERSION (2, 31, 0)
   g_thread_init (NULL);
+#endif
 
   gst_tools_set_prgname ("gst-launch");