From c8b06272bc84d05fecae72d573b009053fbb8eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Jul 2010 14:59:51 +0200 Subject: [PATCH] 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. --- gst/gst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gst.c b/gst/gst.c index 18d346d1a7..fd66fa5cdd 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -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