colorprocessor: use frame's actual channel count

This commit is contained in:
itsmattkc
2021-07-13 16:23:21 -07:00
parent 01536f9865
commit d2233664fd
+1 -1
View File
@@ -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,