summaryrefslogtreecommitdiff
path: root/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
blob: e5cf792278c45b31ad145b66e68e1b66f15fde45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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')