mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playbin: fix compilation
This commit is contained in:
parent
897a1e93b7
commit
4ebfa58a70
1 changed files with 2 additions and 2 deletions
|
@ -1267,11 +1267,11 @@ compare_factories_func (gconstpointer p1, gconstpointer p2)
|
|||
else if (!s1 && s2)
|
||||
return 1;
|
||||
|
||||
diff = f2->rank - f1->rank;
|
||||
diff = gst_plugin_feature_get_rank (f2) - gst_plugin_feature_get_rank (f1);
|
||||
if (diff != 0)
|
||||
return diff;
|
||||
|
||||
diff = strcmp (f2->name, f1->name);
|
||||
diff = strcmp (GST_OBJECT_NAME (f2), GST_OBJECT_NAME (f1));
|
||||
|
||||
return diff;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue