slackbuilds_ponce/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch

25 lines
943 B
Diff
Raw Normal View History

From 495a10c83b7d209bfdb1577efaf718e031ec6f25 Mon Sep 17 00:00:00 2001
From: Janne Liljeblad <janne.liljeblad@gmail.com>
Date: Thu, 12 Jul 2018 01:32:07 +0300
Subject: [PATCH] Fix crash by banning Qt producers to keep using Gtk producers
after Qt ones were made default in MLT
---
flowblade-trunk/Flowblade/app.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flowblade-trunk/Flowblade/app.py b/flowblade-trunk/Flowblade/app.py
index e7b9fb33..5c2b3630 100644
--- a/flowblade-trunk/Flowblade/app.py
+++ b/flowblade-trunk/Flowblade/app.py
@@ -250,6 +250,9 @@ def main(root_path):
# Init MLT framework
repo = mlt.Factory().init()
+ repo.producers().set('qimage', None, 0)
+ repo.producers().set('qtext', None, 0)
+ repo.producers().set('kdenlivetitle', None, 0)
# Set numeric locale to use "." as radix, MLT initilizes this to OS locale and this causes bugs
locale.setlocale(locale.LC_NUMERIC, 'C')