diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:34:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-01 14:34:32 +0200 |
commit | 49120f48474fc8fdc2448c75d961bc238213cfac (patch) | |
tree | 05bcdb95d65a807cf0f1ffffd066c09074b5cf56 /src/VideoSupport.vala | |
parent | 2492891f112caac6076ce49721d9d5d78a152c3a (diff) |
New upstream version 0.28.2upstream/0.28.2
Diffstat (limited to 'src/VideoSupport.vala')
-rw-r--r-- | src/VideoSupport.vala | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/VideoSupport.vala b/src/VideoSupport.vala index d742dda..857a901 100644 --- a/src/VideoSupport.vala +++ b/src/VideoSupport.vala @@ -404,15 +404,12 @@ public class Video : VideoSource, Flaggable, Monitorable, Dateable { * https://bugzilla.gnome.org/show_bug.cgi?id=762416 */ - var feature = registry.find_feature ("vaapidecodebin", - typeof (Gst.ElementFactory)); - if (feature != null) { - registry.remove_feature (feature); - } + var features = registry.feature_filter ((f) => { + return f.get_name ().has_prefix ("vaapi"); + }, false); - feature = registry.find_feature ("vaapidecode", - typeof (Gst.ElementFactory)); - if (feature != null) { + foreach (var feature in features) { + debug ("Removing registry feature %s", feature.get_name ()); registry.remove_feature (feature); } |