mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
meson: Bump minimal GLib version to 2.44
This means we can use some newer features and get rid of some boilerplate code using the G_DECLARE_* macros. As discussed on IRC, 2.44 is old enough by now to start depending on it.
This commit is contained in:
parent
e62b321efe
commit
8f884aa9bc
3 changed files with 2 additions and 7 deletions
|
@ -21,7 +21,7 @@ m4_define([gst_vaapi_lt_revision], [0])
|
||||||
m4_define([gst_vaapi_lt_age], [1700])
|
m4_define([gst_vaapi_lt_age], [1700])
|
||||||
|
|
||||||
# glib version number
|
# glib version number
|
||||||
m4_define([glib_version], [2.40])
|
m4_define([glib_version], [2.44])
|
||||||
|
|
||||||
# gstreamer version number
|
# gstreamer version number
|
||||||
m4_define([gst_version], [1.17.0.1])
|
m4_define([gst_version], [1.17.0.1])
|
||||||
|
|
|
@ -16,7 +16,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libva_req = ['>= 0.39.0', '!= 0.99.0']
|
libva_req = ['>= 0.39.0', '!= 0.99.0']
|
||||||
glib_req = '>= 2.40.0'
|
glib_req = '>= 2.44.0'
|
||||||
libwayland_req = '>= 1.11.0'
|
libwayland_req = '>= 1.11.0'
|
||||||
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
|
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
|
||||||
|
|
||||||
|
|
|
@ -121,11 +121,6 @@ video_output_init (int *argc, char *argv[], GOptionEntry * options)
|
||||||
GOptionContext *ctx;
|
GOptionContext *ctx;
|
||||||
gboolean success;
|
gboolean success;
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2,31,0)
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("- test options");
|
ctx = g_option_context_new ("- test options");
|
||||||
if (!ctx)
|
if (!ctx)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue