From 4ebfa58a70ebb79de0ea418094e7088ec1da6bd6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 24 May 2012 13:43:06 +0200 Subject: [PATCH] playbin: fix compilation --- gst/playback/gstplaybin2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index a634399f6c..b09f75f2c2 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; }