Keep information about the video range (full/JPEG or video/MPEG) in
[dcpomatic.git] / src / lib / dcp_video.cc
index 655c373822ea750aedda3669a52fcccec4db913c..25fd02715ff5e70377a4fac87e163ea1045bca5d 100644 (file)
@@ -99,7 +99,7 @@ DCPVideo::convert_to_xyz (shared_ptr<const PlayerVideo> frame, dcp::NoteHandler
 {
        shared_ptr<dcp::OpenJPEGImage> xyz;
 
-       shared_ptr<Image> image = frame->image (note, bind (&PlayerVideo::keep_xyz_or_rgb, _1), true, false);
+       shared_ptr<Image> image = frame->image (note, bind (&PlayerVideo::keep_xyz_or_rgb, _1), true, true, false);
        if (frame->colour_conversion()) {
                xyz = dcp::rgb_to_xyz (
                        image->data()[0],