Merge branch 'master' into 12bit
[dcpomatic.git] / src / lib / dcp_video_frame.cc
index bb7eaa064194e238ec66656b75e8caa7abc65088..057ed0faed64973be6d6c20b22408cdb50247ae7 100644 (file)
@@ -125,7 +125,7 @@ DCPVideoFrame::encode_locally ()
        }
 
        shared_ptr<libdcp::XYZFrame> xyz = libdcp::rgb_to_xyz (
-               _frame->image(),
+               _frame->image(AV_PIX_FMT_RGB48BE),
                in_lut,
                libdcp::GammaLUT::cache.get (16, 1 / _frame->colour_conversion().output_gamma),
                matrix