mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
use better method name
This commit is contained in:
parent
201da3b5d1
commit
6069471eff
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
||||||
)
|
)
|
||||||
# If the input can read by OIIO then use OIIO method for
|
# If the input can read by OIIO then use OIIO method for
|
||||||
# conversion otherwise use ffmpeg
|
# conversion otherwise use ffmpeg
|
||||||
repre_thumb_created = self._create_thumbnail_oiio(
|
repre_thumb_created = self._create_colorspace_thumbnail(
|
||||||
full_input_path,
|
full_input_path,
|
||||||
full_output_path,
|
full_output_path,
|
||||||
colorspace_data
|
colorspace_data
|
||||||
|
|
@ -382,7 +382,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
||||||
|
|
||||||
return ext in IMAGE_EXTENSIONS or ext in VIDEO_EXTENSIONS
|
return ext in IMAGE_EXTENSIONS or ext in VIDEO_EXTENSIONS
|
||||||
|
|
||||||
def _create_thumbnail_oiio(
|
def _create_colorspace_thumbnail(
|
||||||
self,
|
self,
|
||||||
src_path,
|
src_path,
|
||||||
dst_path,
|
dst_path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue