summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-23 19:42:14 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-23 19:42:14 (GMT)
commitd686cc11a8135947fb06136edf4320a07d793b91 (patch)
tree64c4acae191631596a6a54eac5a39b157aedc0cb
parentf13bbc080f28d22bef6d24472eddc1bdfc689755 (diff)
downloadfarstream-d686cc11a8135947fb06136edf4320a07d793b91.tar.gz
farstream-d686cc11a8135947fb06136edf4320a07d793b91.tar.xz
rtpdiscovercodecs: Typecast factory into feature to make compiler happy
-rw-r--r--gst/fsrtpconference/fs-rtp-discover-codecs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index 0f85519..d128e84 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -1296,7 +1296,8 @@ get_plugins_filtered_from_caps (FilterFunc filter,
GstElementFactory *factory = GST_ELEMENT_FACTORY (walk->data);
/* Ignore unranked plugins */
- if (gst_plugin_feature_get_rank (factory) == GST_RANK_NONE)
+ if (gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory)) ==
+ GST_RANK_NONE)
continue;
if (!filter (factory))