Use enum class for VideoRange.
[dcpomatic.git] / src / lib / dcp_video.cc
index b3461e56908fa015ab38255d41f209647e508c21..67baa121570c0f95016bb89449e44618d11f4910 100644 (file)
@@ -58,7 +58,7 @@ DCPOMATIC_ENABLE_WARNINGS
 
 using std::string;
 using std::cout;
-using boost::shared_ptr;
+using std::shared_ptr;
 using dcp::Size;
 using dcp::ArrayData;
 using dcp::raw_convert;
@@ -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 (bind (&PlayerVideo::keep_xyz_or_rgb, _1), true, false);
+       shared_ptr<Image> image = frame->image (bind (&PlayerVideo::keep_xyz_or_rgb, _1), VideoRange::FULL, true, false);
        if (frame->colour_conversion()) {
                xyz = dcp::rgb_to_xyz (
                        image->data()[0],