From d2233664fde97b8c05cf0c7ec4e617c299489447 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 13 Jul 2021 16:23:21 -0700 Subject: [PATCH] colorprocessor: use frame's actual channel count --- app/render/colorprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/render/colorprocessor.cpp b/app/render/colorprocessor.cpp index 473249469..9d981871f 100644 --- a/app/render/colorprocessor.cpp +++ b/app/render/colorprocessor.cpp @@ -90,7 +90,7 @@ void ColorProcessor::ConvertFrame(Frame *f) OCIO::PackedImageDesc img(f->data(), f->width(), f->height(), - VideoParams::kRGBAChannelCount, + f->channel_count(), ocio_bit_depth, OCIO::AutoStride, OCIO::AutoStride,