summaryrefslogtreecommitdiff
path: root/test/dcp_playback_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
commit1d2a51bdc8315fa7283be329669860e435a1513f (patch)
tree7f1ccaf99bd89f61377f36405f12178586d65f8f /test/dcp_playback_test.cc
parent886c256f532e0f43bcd7f6f9924147c151293cab (diff)
Use enum class for VideoRange.
Diffstat (limited to 'test/dcp_playback_test.cc')
-rw-r--r--test/dcp_playback_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc
index fd4c939bd..1e587e93e 100644
--- a/test/dcp_playback_test.cc
+++ b/test/dcp_playback_test.cc
@@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
AudioMapping(6, 6),
6,
bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24),
- VIDEO_RANGE_FULL,
+ VideoRange::FULL,
false,
true)
);
@@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
}
/* assuming DCP is 24fps/48kHz */
butler->get_audio (audio_buffer, 2000);
- p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VIDEO_RANGE_FULL, false, true);
+ p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, false, true);
}
delete[] audio_buffer;
}