[totem/wip/hadess/blocklist: 8/9] gst: More blocked plugins




commit 751060c6ffa3b6199581ef98d7a88dede79710cf
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 29 09:43:42 2020 +0200

    gst: More blocked plugins

 src/gst/totem-gst-helpers.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gst/totem-gst-helpers.c b/src/gst/totem-gst-helpers.c
index 1c7f05fab..9cdecd6b1 100644
--- a/src/gst/totem-gst-helpers.c
+++ b/src/gst/totem-gst-helpers.c
@@ -78,7 +78,7 @@ void
 totem_gst_disable_display_decoders (void)
 {
        GstRegistry *registry;
-       const char *blacklisted_plugins[] = {
+       const char *blocked_plugins[] = {
          "bmcdec",
          "vaapi",
          "video4linux2"
@@ -91,10 +91,10 @@ totem_gst_disable_display_decoders (void)
         * https://bugzilla.gnome.org/show_bug.cgi?id=749605 */
        registry = gst_registry_get ();
 
-       for (i = 0; i < G_N_ELEMENTS (blacklisted_plugins); i++) {
+       for (i = 0; i < G_N_ELEMENTS (blocked_plugins); i++) {
                GstPlugin *plugin =
                        gst_registry_find_plugin (registry,
-                                                 blacklisted_plugins[i]);
+                                                 blocked_plugins[i]);
                if (plugin)
                        gst_registry_remove_plugin (registry, plugin);
        }


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