[totem] thumbnailer: Also blacklist new vaapidecodebin
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] thumbnailer: Also blacklist new vaapidecodebin
- Date: Fri, 28 Aug 2015 10:20:15 +0000 (UTC)
commit cc43a50c9d0f73654f56a174d17be197e4be01a8
Author: Alban Browaeys <prahal yahoo com>
Date: Tue Aug 18 16:21:04 2015 +0200
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
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 5feea07..d706434 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]