From e74b8e1d737deb9979a279d94c909d95f9999995 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Oct 2014 22:39:16 +0100 Subject: [PATCH] Data must be passed to libdcp xyz conversion as little-endian. --- src/lib/dcp_video_frame.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dcp_video_frame.cc b/src/lib/dcp_video_frame.cc index 057ed0fae..fac247aeb 100644 --- a/src/lib/dcp_video_frame.cc +++ b/src/lib/dcp_video_frame.cc @@ -125,7 +125,7 @@ DCPVideoFrame::encode_locally () } shared_ptr xyz = libdcp::rgb_to_xyz ( - _frame->image(AV_PIX_FMT_RGB48BE), + _frame->image(AV_PIX_FMT_RGB48LE), in_lut, libdcp::GammaLUT::cache.get (16, 1 / _frame->colour_conversion().output_gamma), matrix -- 2.30.2