summaryrefslogtreecommitdiffstats
path: root/multimedia/flowblade/mlt7.patch
blob: 9f9a1e25b96c0cf17a9a28d64a5701e64b0ca188 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)