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 /test/test.cc | |
| parent | 886c256f532e0f43bcd7f6f9924147c151293cab (diff) | |
Use enum class for VideoRange.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index cbd12e1ee..6af6409ce 100644 --- a/test/test.cc +++ b/test/test.cc @@ -339,9 +339,9 @@ static double rms_error (boost::filesystem::path ref, boost::filesystem::path check) { - FFmpegImageProxy ref_proxy (ref, VIDEO_RANGE_FULL); + FFmpegImageProxy ref_proxy (ref, VideoRange::FULL); shared_ptr<Image> ref_image = ref_proxy.image().image; - FFmpegImageProxy check_proxy (check, VIDEO_RANGE_FULL); + FFmpegImageProxy check_proxy (check, VideoRange::FULL); shared_ptr<Image> check_image = check_proxy.image().image; BOOST_REQUIRE_EQUAL (ref_image->pixel_format(), check_image->pixel_format()); |
