diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-27 01:44:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-27 01:44:20 +0100 |
| commit | 1d2a51bdc8315fa7283be329669860e435a1513f (patch) | |
| tree | 7f1ccaf99bd89f61377f36405f12178586d65f8f /src/lib/dcp_video.cc | |
| parent | 886c256f532e0f43bcd7f6f9924147c151293cab (diff) | |
Use enum class for VideoRange.
Diffstat (limited to 'src/lib/dcp_video.cc')
| -rw-r--r-- | src/lib/dcp_video.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index ddad3d8e0..67baa1215 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -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), VIDEO_RANGE_FULL, 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], |
