mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
decodebin: use ascending order for name based sorting of pluginfeatures.
The _decode_bin_compare_factories_func() should return negative value if the rank of both PluginFeatures are equal and the name of first PluginFeature comes before the second one (== ascending order).
This commit is contained in:
parent
98f41f1c39
commit
f07eb23728
1 changed files with 1 additions and 1 deletions
|
@ -1015,7 +1015,7 @@ _decode_bin_compare_factories_func (gconstpointer p1, gconstpointer p2)
|
||||||
if (diff != 0)
|
if (diff != 0)
|
||||||
return diff;
|
return diff;
|
||||||
|
|
||||||
diff = strcmp (GST_OBJECT_NAME (f2), GST_OBJECT_NAME (f1));
|
diff = strcmp (GST_OBJECT_NAME (f1), GST_OBJECT_NAME (f2));
|
||||||
|
|
||||||
return diff;
|
return diff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue