diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-03-24 15:28:07 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-03-26 14:08:56 +0100 |
commit | d70e659b3aa19cc3fb2b231880a9ea7dba5b42f5 (patch) | |
tree | 6ddf93edd4ae76febf124d50e28c7ad71e8f7934 | |
parent | 1794a8dfaef22a44aa09537627f23d412ba4167d (diff) | |
download | totem-d70e659b3aa19cc3fb2b231880a9ea7dba5b42f5.tar.gz |
gst: Block more plugins that can't be used for thumbnailingwip/hadess/more-blocked-gst-plugins
See link to upstream issues from tracker-miners.
-rw-r--r-- | src/gst/totem-gst-helpers.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/gst/totem-gst-helpers.c b/src/gst/totem-gst-helpers.c index 9cdecd6b1..293dfe0c7 100644 --- a/src/gst/totem-gst-helpers.c +++ b/src/gst/totem-gst-helpers.c @@ -81,14 +81,25 @@ totem_gst_disable_display_decoders (void) const char *blocked_plugins[] = { "bmcdec", "vaapi", - "video4linux2" + "video4linux2", + "nvmpegvideodec", + "nvmpeg2videodec", + "nvmpeg4videodec", + "nvh264sldec", + "nvh264dec", + "nvjpegdec", + "nvh265sldec", + "nvh265dec", + "nvvp8dec", }; guint i; /* Disable the vaapi plugin as it will not work with the * fakesink we use: - * See: https://bugzilla.gnome.org/show_bug.cgi?id=700186 and - * https://bugzilla.gnome.org/show_bug.cgi?id=749605 */ + * See: https://bugzilla.gnome.org/show_bug.cgi?id=700186 + * https://bugzilla.gnome.org/show_bug.cgi?id=749605 + * https://gitlab.gnome.org/GNOME/tracker-miners/-/commit/1d3accb9187611629c9be3727c729809d96d9ea6 + */ registry = gst_registry_get (); for (i = 0; i < G_N_ELEMENTS (blocked_plugins); i++) { |