mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Hiero: otio speed added to duration
This commit is contained in:
parent
731676aa73
commit
7c580363df
1 changed files with 2 additions and 1 deletions
|
|
@ -198,7 +198,8 @@ def create_otio_markers(otio_item, item):
|
|||
def create_otio_clip(track_item):
|
||||
clip = track_item.source()
|
||||
source_in = track_item.sourceIn()
|
||||
duration = track_item.sourceDuration()
|
||||
speed = track_item.playbackSpeed()
|
||||
duration = int(track_item.sourceDuration() / speed)
|
||||
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