summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-10-16 12:45:09 +0200
committerStéphane Cerveau <scerveau@collabora.com>2020-10-16 12:45:09 +0200
commit0ee03f2b1d6e450bf2603b1783dc3b0cd8aec683 (patch)
tree3530c93a8fc2451ea07d65436a02be92c1ad0e2e
parent9192ad0eeb445bee8dff3989217639f495b35c3a (diff)
downloadgst-omx-0ee03f2b1d6e450bf2603b1783dc3b0cd8aec683.tar.gz
meson: update glib minimum version to 2.56
In order to support the symbol g_enum_to_string in various project using GStreamer ( gst-validate etc.), the glib minimum version should be 2.56.0. Remove compat code as glib requirement is now > 2.56 Version used by Ubuntu 18.04 LTS Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/74>
-rw-r--r--examples/egl/testegl.c6
-rw-r--r--meson.build2
2 files changed, 1 insertions, 7 deletions
diff --git a/examples/egl/testegl.c b/examples/egl/testegl.c
index 615a8fe..b7e7745 100644
--- a/examples/egl/testegl.c
+++ b/examples/egl/testegl.c
@@ -1495,12 +1495,6 @@ main (int argc, char **argv)
state->current_buffer = NULL;
state->caps = NULL;
-#if !GLIB_CHECK_VERSION (2, 31, 0)
- /* must initialise the threading system before using any other GLib funtion */
- if (!g_thread_supported ())
- g_thread_init (NULL);
-#endif
-
ctx = g_option_context_new ("[ADDITIONAL ARGUMENTS]");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());
diff --git a/meson.build b/meson.build
index 8945dd8..7db071c 100644
--- a/meson.build
+++ b/meson.build
@@ -15,7 +15,7 @@ else
gst_version_nano = 0
endif
-glib_req = '>= 2.44.0'
+glib_req = '>= 2.56.0'
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
tizil_req = '>= 0.19.0'
api_version = '1.0'