clip duration from Frames clip attributes

This commit is contained in:
Jakub Jezek 2023-10-18 14:00:57 +02:00
parent ed2756aa52
commit aa74d48836
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -438,10 +438,10 @@ class ClipLoader:
source_in = int(_clip_property("Start"))
source_out = int(_clip_property("End"))
source_duration = int(_clip_property("Frames"))
# check if source duration is shorter than db frame duration
source_with_handles = True
source_duration = source_out - source_in + 1
if source_duration < db_frame_duration:
source_with_handles = False