summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-07-26 14:59:51 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-07-26 14:59:51 +0200
commitc8b06272bc84d05fecae72d573b009053fbb8eff (patch)
treeee4262d62c91bf4421872b7424c19229117c47fa
parent708bc7dc97ba4c2c8659820fc2bdf0b1e6bab767 (diff)
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.
-rw-r--r--gst/gst.c2
1 files changed, 1 insertions, 1 deletions
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