diff options
author | Alban Browaeys <prahal@yahoo.com> | 2015-08-18 16:21:04 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-08-28 12:20:03 +0200 |
commit | cc43a50c9d0f73654f56a174d17be197e4be01a8 (patch) | |
tree | b9590fc7789f0631fb449c7bf69d463fafbf3339 | |
parent | 13af42590f86240c5a7a96025b4a4c046fec1622 (diff) | |
download | totem-cc43a50c9d0f73654f56a174d17be197e4be01a8.tar.gz |
thumbnailer: Also blacklist new vaapidecodebin
Since the new version of gstreamer-vaapi ships vaapidecodebin
and not vaapidecode, the work-around added in commit
bd2b876f13aa97e9c4faa917b1b2e0a51c2da8ac
fails to blacklist vaapi.
https://bugzilla.gnome.org/show_bug.cgi?id=749605
-rw-r--r-- | src/totem-video-thumbnailer.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c index 5feea07e9..d7064349a 100644 --- a/src/totem-video-thumbnailer.c +++ b/src/totem-video-thumbnailer.c @@ -412,9 +412,16 @@ thumb_app_setup_play (ThumbApp *app) /* Disable the vaapi plugin as it will not work with the * fakesink we use: - * See: https://bugzilla.gnome.org/show_bug.cgi?id=700186 */ + * See: https://bugzilla.gnome.org/show_bug.cgi?id=700186 and + * https://bugzilla.gnome.org/show_bug.cgi?id=749605 */ registry = gst_registry_get (); feature = gst_registry_find_feature (registry, + "vaapidecodebin", + GST_TYPE_ELEMENT_FACTORY); + if (feature) + gst_registry_remove_feature (registry, feature); + + feature = gst_registry_find_feature (registry, "vaapidecode", GST_TYPE_ELEMENT_FACTORY); if (!feature) |