From 45f3f3d772debc4605d955c609b874638b545039 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 10 Feb 2015 13:22:34 +0100 Subject: [PATCH] validate: Make sure that the latest action type registration is kept Avoiding to change the behaviour! --- validate/gst/validate/gst-validate-scenario.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index c2d79a2380..b5c1958709 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -2376,7 +2376,7 @@ gst_validate_register_action_type_dynamic (GstPlugin * plugin, type->rank = rank; if ((tmptype = _find_action_type (type_name))) { - if (tmptype->rank < rank) { + if (tmptype->rank <= rank) { action_types = g_list_remove (action_types, tmptype); gst_mini_object_unref (GST_MINI_OBJECT (tmptype)); } else { -- 2.34.1