ges: Update for registry API change

This commit is contained in:
Edward Hervey 2012-01-02 15:58:17 +01:00
parent a32f1bd4dc
commit 79ab1b5166

View file

@ -36,13 +36,12 @@ static gboolean
ges_check_gnonlin_availability (void) ges_check_gnonlin_availability (void)
{ {
gboolean ret = TRUE; gboolean ret = TRUE;
if (!gst_default_registry_check_feature_version ("gnlcomposition", if (!gst_registry_check_feature_version (gst_registry_get (),
GES_GNONLIN_VERSION_NEEDED_MAJOR, GES_GNONLIN_VERSION_NEEDED_MINOR, "gnlcomposition", GES_GNONLIN_VERSION_NEEDED_MAJOR,
GES_GNONLIN_VERSION_NEEDED_MICRO)) { GES_GNONLIN_VERSION_NEEDED_MINOR, GES_GNONLIN_VERSION_NEEDED_MICRO)) {
GST_ERROR GST_ERROR ("GNonLin plugins not found, or not at least version %u.%u.%u",
("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_MAJOR, GES_GNONLIN_VERSION_NEEDED_MICRO);
GES_GNONLIN_VERSION_NEEDED_MINOR, GES_GNONLIN_VERSION_NEEDED_MICRO);
ret = FALSE; ret = FALSE;
} }
return ret; return ret;