summaryrefslogtreecommitdiff
path: root/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch')
-rw-r--r--multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch b/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
new file mode 100644
index 0000000000..e5cf792278
--- /dev/null
+++ b/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
@@ -0,0 +1,24 @@
+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')