mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gst: Fix usage of glib_check_version()
It returns NULL if the installed GLib version is as least as new as the required version and some explanatory string otherwise.
This commit is contained in:
parent
708bc7dc97
commit
c8b06272bc
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ gst_init_get_option_group (void)
|
|||
|
||||
/* Since GLib 2.23.2 calling g_thread_init() 'late' is allowed and is
|
||||
* automatically done as part of g_type_init() */
|
||||
if (!glib_check_version (2, 23, 3)) {
|
||||
if (glib_check_version (2, 23, 3)) {
|
||||
/* The GLib threading system must be initialised before calling any other
|
||||
* GLib function according to the documentation; if the application hasn't
|
||||
* called gst_init() yet or initialised the threading system otherwise, we
|
||||
|
|
Loading…
Reference in a new issue