[totem/wip/hadess/more-blocked-gst-plugins] gst: Block more plugins that can't be used for thumbnailing




commit 55841f65779d8e4a4402caf8615ea9c5ecfb3c1e
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 24 15:28:07 2021 +0100

    gst: Block more plugins that can't be used for thumbnailing
    
    See link to upstream issues from tracker-miners.

 src/gst/totem-gst-helpers.c | 17 ++++++++++++++---
 1 file 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++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]