mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
rename 'oiiotool_transcode' to 'oiio_color_convert'
This commit is contained in:
parent
aa8c1d7c6f
commit
21737339d3
3 changed files with 8 additions and 8 deletions
|
|
@ -1010,7 +1010,7 @@ def convert_ffprobe_fps_to_float(value):
|
|||
|
||||
|
||||
# --- Deprecated functions ---
|
||||
@deprecated("oiiotool_transcode")
|
||||
@deprecated("oiio_color_convert")
|
||||
def convert_colorspace(
|
||||
input_path,
|
||||
output_path,
|
||||
|
|
@ -1022,7 +1022,7 @@ def convert_colorspace(
|
|||
additional_command_args=None,
|
||||
logger=None,
|
||||
):
|
||||
"""DEPRECATED function use `oiiotool_transcode` instead
|
||||
"""DEPRECATED function use `oiio_color_convert` instead
|
||||
|
||||
Args:
|
||||
input_path (str): Path to input file that should be converted.
|
||||
|
|
@ -1047,7 +1047,7 @@ def convert_colorspace(
|
|||
Raises:
|
||||
ValueError: If parameters are misconfigured.
|
||||
"""
|
||||
return oiiotool_transcode(
|
||||
return oiio_color_convert(
|
||||
input_path,
|
||||
output_path,
|
||||
config_path,
|
||||
|
|
@ -1060,7 +1060,7 @@ def convert_colorspace(
|
|||
)
|
||||
|
||||
|
||||
def oiiotool_transcode(
|
||||
def oiio_color_convert(
|
||||
input_path,
|
||||
output_path,
|
||||
config_path,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ from ayon_core.lib import (
|
|||
is_oiio_supported,
|
||||
)
|
||||
from ayon_core.lib.transcoding import (
|
||||
oiiotool_transcode,
|
||||
oiio_color_convert,
|
||||
)
|
||||
|
||||
from ayon_core.lib.profiles_filtering import filter_profiles
|
||||
|
|
@ -170,7 +170,7 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
new_staging_dir,
|
||||
output_extension)
|
||||
|
||||
oiiotool_transcode(
|
||||
oiio_color_convert(
|
||||
input_path=input_path,
|
||||
output_path=output_path,
|
||||
config_path=config_path,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ from ayon_core.lib import (
|
|||
path_to_subprocess_arg,
|
||||
run_subprocess,
|
||||
)
|
||||
from ayon_core.lib.transcoding import oiiotool_transcode
|
||||
from ayon_core.lib.transcoding import oiio_color_convert
|
||||
|
||||
from ayon_core.lib.transcoding import VIDEO_EXTENSIONS, IMAGE_EXTENSIONS
|
||||
|
||||
|
|
@ -431,7 +431,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
oiio_default_view = display_and_view["view"]
|
||||
|
||||
try:
|
||||
oiiotool_transcode(
|
||||
oiio_color_convert(
|
||||
src_path,
|
||||
dst_path,
|
||||
colorspace_data["config"]["path"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue