Skip to content

Commit 8c74290

Browse files
committed
Restore comment about kOfxImageClipPropPreferredColourspaces
Signed-off-by: Phil Barrett <[email protected]>
1 parent f31404b commit 8c74290

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Examples/ColourSpace/colourspace.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,11 @@ getOutputColourspace( OfxImageEffectHandle effect, OfxPropertySetHandle /*inAr
618618
if (active_style != ColourManagementStyle::None) {
619619

620620
// We could access the colourspace set on our input clip(s) here,
621-
// if it affects the output space logic
621+
// if it affects the output space logic.
622+
623+
// We could also check kOfxImageClipPropPreferredColourspaces from
624+
// inArgs here, as the host may have set that to indicate its
625+
// preferred output spaces
622626

623627
// Get the colourspace from the parameter
624628
const char * outputSpace;

0 commit comments

Comments
 (0)