Hello community, here is the log from the commit of package totem for openSUSE:Factory checked in at 2018-01-16 09:29:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/totem (Old) and /work/SRC/openSUSE:Factory/.totem.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "totem" Tue Jan 16 09:29:23 2018 rev:129 rq:563161 version:3.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/totem/totem.changes 2017-11-30 16:31:46.970366220 +0100 +++ /work/SRC/openSUSE:Factory/.totem.new/totem.changes 2018-01-16 09:29:24.746073113 +0100 @@ -1,0 +2,6 @@ +Tue Jan 9 20:57:36 UTC 2018 - [email protected] + +- Add totem-thumbnailer-blacklist-fixes.patch: Fixes to the + thumbnailer blacklists plugins (bgo#790491). + +------------------------------------------------------------------- New: ---- totem-thumbnailer-blacklist-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ totem.spec ++++++ --- /var/tmp/diff_new_pack.eOEhGV/_old 2018-01-16 09:29:25.414041860 +0100 +++ /var/tmp/diff_new_pack.eOEhGV/_new 2018-01-16 09:29:25.414041860 +0100 @@ -1,7 +1,7 @@ # # spec file for package totem # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,9 @@ Patch3: totem-fix-gtk-doc.patch # PATCH-FIX-UPSTREAM totem-nb-translations.patch [email protected] -- Update Norwegian Bokmål translation Patch4: totem-nb-translations.patch +# PATCH-FIX-UPSTREAM totem-thumbnailer-blacklist-fixes.patch bgo#790491 [email protected] -- Fixes to the thumbnailer blacklists plugins +Patch5: totem-thumbnailer-blacklist-fixes.patch + BuildRequires: appstream-glib BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ totem-thumbnailer-blacklist-fixes.patch ++++++ >From 5f0f049416df05b17926e45b0d54a30dc943588b Mon Sep 17 00:00:00 2001 From: Robert McQueen <[email protected]> Date: Wed, 15 Nov 2017 17:23:57 +0000 Subject: thumbnailer: Blacklist GStreamer plugins rather than features This avoids the need to check multiple entries and changing feature names in upstream GStreamer. https://bugzilla.gnome.org/show_bug.cgi?id=790491 --- src/totem-video-thumbnailer.c | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c index 7d20f16..39d2d87 100644 --- a/src/totem-video-thumbnailer.c +++ b/src/totem-video-thumbnailer.c @@ -386,18 +386,11 @@ thumb_app_setup_play (ThumbApp *app) GstElement *play; GstElement *audio_sink, *video_sink; GstRegistry *registry; - const char *blacklisted_plugins[] = { - "vaapidecodebin", - "vaapidecode", - "vaapimpeg2dec", - "vaapih264dec", - "vaapivc1dec", - "vaapivp8dec", - "vaapivp9dec", - "vaapih265dec", - "bmcdec" - }; - guint i; + const char *blacklisted_plugins[] = { + "bmcdec", + "vaapi" + }; + guint i; play = gst_element_factory_make ("playbin", "play"); audio_sink = gst_element_factory_make ("fakesink", "audio-fake-sink"); @@ -419,12 +412,11 @@ thumb_app_setup_play (ThumbApp *app) registry = gst_registry_get (); for (i = 0; i < G_N_ELEMENTS (blacklisted_plugins); i++) { - GstPluginFeature *feature = - gst_registry_find_feature (registry, - blacklisted_plugins[i], - GST_TYPE_ELEMENT_FACTORY); - if (feature) - gst_registry_remove_feature (registry, feature); + GstPlugin *plugin = + gst_registry_find_plugin (registry, + blacklisted_plugins[i]); + if (plugin) + gst_registry_remove_plugin (registry, plugin); } } -- cgit v0.12 >From 621a387cbe88c8084796dd601e1efc95b6fd2c00 Mon Sep 17 00:00:00 2001 From: Robert McQueen <[email protected]> Date: Wed, 15 Nov 2017 17:27:33 +0000 Subject: thumbnailer: Blacklist video4linux2 plugin On most V4L2 platforms supported by GStreamer, there are a finite number of M2M decoders and if the thumbnailer is using them, it prevents the user from playing back their real video. https://bugzilla.gnome.org/show_bug.cgi?id=790491 --- src/totem-video-thumbnailer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c index 39d2d87..2caafa5 100644 --- a/src/totem-video-thumbnailer.c +++ b/src/totem-video-thumbnailer.c @@ -388,7 +388,8 @@ thumb_app_setup_play (ThumbApp *app) GstRegistry *registry; const char *blacklisted_plugins[] = { "bmcdec", - "vaapi" + "vaapi", + "video4linux2" }; guint i; -- cgit v0.12
