summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-05-24 13:43:06 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-05-24 13:43:06 +0200
commit4ebfa58a70ebb79de0ea418094e7088ec1da6bd6 (patch)
tree0326cdc2f2a85b08e247908b791d02803326c4fa /gst
parent897a1e93b7e224e0adea18d97d116cfc9fe360f8 (diff)
downloadgstreamer-plugins-base-4ebfa58a70ebb79de0ea418094e7088ec1da6bd6.tar.gz
playbin: fix compilation
Diffstat (limited to 'gst')
-rw-r--r--gst/playback/gstplaybin2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index a634399f6..b09f75f2c 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -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;
}