mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix - store target_colorspace as new colorspace (#4544)
When transcoding into new colorspace, representation must carry this information instead original color space.
This commit is contained in:
parent
d68cc23d32
commit
9f35ed2a63
1 changed files with 4 additions and 1 deletions
|
|
@ -129,11 +129,14 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
colorspace_data.get("display"))
|
||||
|
||||
# both could be already collected by DCC,
|
||||
# but could be overwritten
|
||||
# but could be overwritten when transcoding
|
||||
if view:
|
||||
new_repre["colorspaceData"]["view"] = view
|
||||
if display:
|
||||
new_repre["colorspaceData"]["display"] = display
|
||||
if target_colorspace:
|
||||
new_repre["colorspaceData"]["colorspace"] = \
|
||||
target_colorspace
|
||||
|
||||
additional_command_args = (output_def["oiiotool_args"]
|
||||
["additional_command_args"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue