summaryrefslogtreecommitdiff
path: root/gst/fsrtpconference/fs-rtp-discover-codecs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/fsrtpconference/fs-rtp-discover-codecs.c')
-rw-r--r--gst/fsrtpconference/fs-rtp-discover-codecs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index 5b26cd9..0f85519 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -1295,9 +1295,13 @@ 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)
+ continue;
+
if (!filter (factory))
continue;
-
+
if (caps && !check_caps_compatibility (factory, caps, &matched_caps))
continue;