mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue