validate: Make sure that the latest action type registration is kept
Avoiding to change the behaviour!
This commit is contained in:
parent
e80a7df4d3
commit
45f3f3d772
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user