mlt7.patch 675 B

12345678910111213141516171819202122
  1. diff --git a/flowblade-trunk/flowblade b/flowblade-trunk/flowblade
  2. index 01f6d092..2cdfcedb 100755
  3. --- a/flowblade-trunk/flowblade
  4. +++ b/flowblade-trunk/flowblade
  5. @@ -58,11 +58,11 @@ sys.path.insert(0, modules_path)
  6. # Check that we have MLT, missing is fatal.
  7. try:
  8. import mlt
  9. - try:
  10. - mlt_version = mlt.LIBMLT_VERSION
  11. - print ("MLT found, version:", mlt_version)
  12. - except:
  13. - print ("MLT found but version info not available. MLT probably too old to work reliably...")
  14. +except:
  15. + import mlt7 as mlt
  16. +
  17. +try:
  18. + mlt_version = mlt.LIBMLT_VERSION
  19. except Exception as err:
  20. print ("MLT not found, exiting...")
  21. print ("ERROR:", err)