From 79ab1b516609ccbb13f540a8ce65b1a103d07d65 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 2 Jan 2012 15:58:17 +0100 Subject: [PATCH] ges: Update for registry API change --- ges/ges.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ges/ges.c b/ges/ges.c index ff9a3e9ffd..d05b0ef613 100644 --- a/ges/ges.c +++ b/ges/ges.c @@ -36,13 +36,12 @@ static gboolean ges_check_gnonlin_availability (void) { gboolean ret = TRUE; - if (!gst_default_registry_check_feature_version ("gnlcomposition", - GES_GNONLIN_VERSION_NEEDED_MAJOR, GES_GNONLIN_VERSION_NEEDED_MINOR, - GES_GNONLIN_VERSION_NEEDED_MICRO)) { - GST_ERROR - ("GNonLin plugins not found, or not at least version %u.%u.%u", - GES_GNONLIN_VERSION_NEEDED_MAJOR, - GES_GNONLIN_VERSION_NEEDED_MINOR, GES_GNONLIN_VERSION_NEEDED_MICRO); + if (!gst_registry_check_feature_version (gst_registry_get (), + "gnlcomposition", GES_GNONLIN_VERSION_NEEDED_MAJOR, + GES_GNONLIN_VERSION_NEEDED_MINOR, GES_GNONLIN_VERSION_NEEDED_MICRO)) { + GST_ERROR ("GNonLin plugins not found, or not at least version %u.%u.%u", + GES_GNONLIN_VERSION_NEEDED_MAJOR, GES_GNONLIN_VERSION_NEEDED_MINOR, + GES_GNONLIN_VERSION_NEEDED_MICRO); ret = FALSE; } return ret;