Update NEWS and RELEASE as well
[platform/upstream/gstreamer.git] / tools / gst-typefind.c
index b8bd67c..123f395 100644 (file)
@@ -153,6 +153,12 @@ 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-typefind");
+
   ctx = g_option_context_new ("FILES");
   g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
   g_option_context_add_group (ctx, gst_init_get_option_group ());