[pitivi] effects: Fix effects blacklist



commit 2d8794865417e5aae60877b91d18dd358b895fe8
Author: Thibault Saunier <tsaunier igalia com>
Date:   Sun Sep 6 22:10:59 2020 -0300

    effects: Fix effects blacklist
    
    Removing the empty plugins backlist on the way

 pitivi/effects.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index 6e707585d..2cfb5bc87 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -148,8 +148,6 @@ BLACKLISTED_EFFECTS = [
     "volume",
 ]
 
-BLACKLISTED_PLUGINS = []
-
 HIDDEN_EFFECTS = [
     # Overlaying an image onto a video stream can already be done.
     "gdkpixbufoverlay"]
@@ -261,7 +259,7 @@ class EffectsManager(Loggable):
             klass = factory.get_klass()
             name = factory.get_name()
             if ("Effect" not in klass or
-                    any(black in name for black in BLACKLISTED_PLUGINS)):
+                    any(black in name for black in BLACKLISTED_EFFECTS)):
                 continue
 
             media_type = None


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