Fix lint.

This commit is contained in:
robin@ynput.io 2024-09-18 16:46:49 -04:00
parent b0b509d431
commit be2b8d5c60
3 changed files with 3 additions and 9 deletions

View file

@ -176,8 +176,6 @@ def _sequence_resize(source, length):
def get_media_range_with_retimes(otio_clip, handle_start, handle_end):
source_range = otio_clip.source_range
available_range = otio_clip.available_range()
source_range_rate = source_range.start_time.rate
available_range_rate = available_range.start_time.rate
# Conform source range bounds to available range rate
@ -187,9 +185,9 @@ def get_media_range_with_retimes(otio_clip, handle_start, handle_end):
# 86400 86500
#
#
# 90010 90060
# src |-----|______duration 2s___|----| 25fps
# 90000
# 90010 90060
# src |-----|______duration 2s___|----| 25fps
# 90000
#
#
# 86409.6 86466.8

View file

@ -74,9 +74,6 @@ class ExtractOTIOTrimmingVideo(publish.Extractor):
otio_range (opentime.TimeRange): range to trim to
"""
# Not all hosts can import this module.
from ayon_core.pipeline.editorial import frames_to_seconds
# create path to destination
output_path = self._get_ffmpeg_output(input_file_path)

View file

@ -1,5 +1,4 @@
import os
import pytest
import opentimelineio as otio