mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Hiero: fixing one frame difference otio clip and media
This commit is contained in:
parent
9dd13425c3
commit
c70c6d9911
1 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ def create_otio_reference(clip):
|
|||
padding = media_source.filenamePadding()
|
||||
file_head = media_source.filenameHead()
|
||||
is_sequence = not media_source.singleFile()
|
||||
frame_duration = media_source.duration() - 1
|
||||
frame_duration = media_source.duration()
|
||||
fps = utils.get_rate(clip) or self.project_fps
|
||||
extension = os.path.splitext(path)[-1]
|
||||
|
||||
|
|
@ -277,7 +277,7 @@ def create_otio_clip(track_item):
|
|||
# flip if speed is in minus
|
||||
source_in = track_item.sourceIn() if speed > 0 else track_item.sourceOut()
|
||||
|
||||
duration = int(track_item.duration())
|
||||
duration = int(track_item.duration()) - 1
|
||||
|
||||
fps = utils.get_rate(track_item) or self.project_fps
|
||||
name = track_item.name()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue