495a10c83b7d209bfdb1577efaf718e031ec6f25.patch 943 B

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