summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2020-05-12 17:22:22 +0200
committerEdward Hervey <bilboed@bilboed.com>2020-05-12 17:28:11 +0200
commit77b3c173bf3aa60aec0a9353291f2cabc11533e8 (patch)
treecbecd52878ace6ff5c60ae80860b505be0bd659d
parentc6d2c44e2c28a7ff67648d9aa68363f0f76d0e70 (diff)
gst-app: Remove call to g_thread_init
Was deprecated since glib 2.23 ... 8 years ago :)
-rw-r--r--gst-app/src/main.c5
1 files changed, 0 insertions, 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);