Commit 24802e1b authored by Alexandru Băluț's avatar Alexandru Băluț

effects: Hide GL effects until they are well supported

Fixes #2320
parent d22ba798
......@@ -287,8 +287,11 @@ class EffectsManager(Loggable):
self.gl_effects = [element_factory.get_name()
for element_factory in gl_element_factories]
if self.gl_effects:
thread = threading.Thread(target=self._check_gleffects)
thread.start()
if "gleffects" in os.environ.get("PITIVI_UNSTABLE_FEATURES", ""):
thread = threading.Thread(target=self._check_gleffects)
thread.start()
else:
HIDDEN_EFFECTS.extend(self.gl_effects)
def _check_gleffects(self):
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment