From 77b3c173bf3aa60aec0a9353291f2cabc11533e8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 12 May 2020 17:22:22 +0200 Subject: gst-app: Remove call to g_thread_init Was deprecated since glib 2.23 ... 8 years ago :) --- gst-app/src/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gst-app/src/main.c b/gst-app/src/main.c index 5ad0df0..8970400 100644 --- a/gst-app/src/main.c +++ b/gst-app/src/main.c @@ -105,11 +105,6 @@ main (int argc, char *argv[]) GError *err = NULL; gint i, num; - /* Before calling any GLib or GStreamer function, we must initialise - * the GLib threading system */ - if (!g_thread_supported()) - g_thread_init (NULL); - ctx = g_option_context_new ("[FILE1] [FILE2] ..."); g_option_context_add_group (ctx, gst_init_get_option_group ()); g_option_context_add_main_entries (ctx, entries, NULL); -- cgit v1.2.3