mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added deprecation warning to convert_to_ffmpeg
This commit is contained in:
parent
91d2eb7355
commit
d9d772db72
1 changed files with 6 additions and 0 deletions
|
|
@ -409,6 +409,12 @@ def convert_for_ffmpeg(
|
|||
if logger is None:
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
logger.warning((
|
||||
"DEPRECATED: 'openpype.lib.transcoding.convert_for_ffmpeg' is"
|
||||
" deprecated function of conversion for FFMpeg. Please replace usage"
|
||||
" with 'openpype.lib.transcoding.convert_input_paths_for_ffmpeg'"
|
||||
))
|
||||
|
||||
ext = os.path.splitext(first_input_path)[1].lower()
|
||||
if ext != ".exr":
|
||||
raise ValueError((
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue