X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_video.cc;h=67baa121570c0f95016bb89449e44618d11f4910;hb=1d2a51bdc8315fa7283be329669860e435a1513f;hp=b3461e56908fa015ab38255d41f209647e508c21;hpb=6fa9748f382302fa88292b4219598bb81edc7bd0;p=dcpomatic.git diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index b3461e569..67baa1215 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -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 frame, dcp::NoteHandler { shared_ptr xyz; - shared_ptr image = frame->image (bind (&PlayerVideo::keep_xyz_or_rgb, _1), true, false); + shared_ptr 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],