slackbuilds_ponce/multimedia/flowblade/mlt7.patch
klaatu 976ac99e58
multimedia/flowblade: Updated for version 24564a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-03-10 11:11:57 +07:00

21 lines
675 B
Diff

diff --git a/flowblade-trunk/flowblade b/flowblade-trunk/flowblade
index 01f6d092..2cdfcedb 100755
--- a/flowblade-trunk/flowblade
+++ b/flowblade-trunk/flowblade
@@ -58,11 +58,11 @@ sys.path.insert(0, modules_path)
# Check that we have MLT, missing is fatal.
try:
import mlt
- try:
- mlt_version = mlt.LIBMLT_VERSION
- print ("MLT found, version:", mlt_version)
- except:
- print ("MLT found but version info not available. MLT probably too old to work reliably...")
+except:
+ import mlt7 as mlt
+
+try:
+ mlt_version = mlt.LIBMLT_VERSION
except Exception as err:
print ("MLT not found, exiting...")
print ("ERROR:", err)