mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update openpype/plugins/publish/extract_thumbnail.py
This commit is contained in:
parent
3f8830e27d
commit
3807172fae
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
# Use duration of the individual streams since it is returned with
|
||||
# higher decimal precision than 'format.duration'. We need this
|
||||
# more precise value for calculating the correct amount of frames
|
||||
# for higher FPS ranges or decimal ranges, e.g. 29.97 FPS
|
||||
# for higher FPS ranges or decimal ranges, e.g. 29.97 FPS
|
||||
duration = max(
|
||||
float(stream.get("duration", 0))
|
||||
for stream in video_data["streams"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue