mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
dc749ef0c6
Patch from upstream for the newer mlt Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
24 lines
943 B
Diff
24 lines
943 B
Diff
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')
|