mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 20:20:38 +00:00
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>
This commit is contained in:
parent
9192ad0eeb
commit
0ee03f2b1d
2 changed files with 1 additions and 7 deletions
|
@ -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 ());
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue