fix otio and refacto

This commit is contained in:
“christopheseux”
2023-05-04 11:32:36 +02:00
parent f9384c3d89
commit 706fcb2ee1
4 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ def import_edit(filepath, adapter="cmx_3600", channel='Shots'):
except:
print("[>.] read_from_file Failed. Using read_from_string method.")
data = edl.read_text(encoding='latin-1')
timeline = otio.adapters.read_from_string(
timeline = opentimelineio.adapters.read_from_string(
data, adapter, rate=scn.render.fps, ignore_timecode_mismatch=True)
scn.frame_start = (