mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix rouding issue with extract_otio_review
This commit is contained in:
parent
e90ca81ede
commit
951fd51ab6
1 changed files with 1 additions and 2 deletions
|
|
@ -147,7 +147,6 @@ class ExtractOTIOReview(
|
|||
self.actual_fps = available_range.duration.rate
|
||||
start = src_range.start_time.rescaled_to(self.actual_fps)
|
||||
duration = src_range.duration.rescaled_to(self.actual_fps)
|
||||
src_frame_start = src_range.start_time.to_frames()
|
||||
|
||||
# Temporary.
|
||||
# Some AYON custom OTIO exporter were implemented with
|
||||
|
|
@ -157,7 +156,7 @@ class ExtractOTIOReview(
|
|||
if (
|
||||
is_clip_from_media_sequence(r_otio_cl)
|
||||
and available_range_start_frame == media_ref.start_frame
|
||||
and src_frame_start < media_ref.start_frame
|
||||
and start.to_frames() < media_ref.start_frame
|
||||
):
|
||||
available_range = otio.opentime.TimeRange(
|
||||
otio.opentime.RationalTime(0, rate=self.actual_fps),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue