diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-18 17:28:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-18 17:28:20 +0200 |
| commit | dde463561f8e159008effc3505ebc2f088d1f8f2 (patch) | |
| tree | 45a46d0984514177627261b602089de00ae9ca1c /test/hints_test.cc | |
| parent | 59f4902bc3971f948b0cd0c3fceb0edb8667bff7 (diff) | |
Add discouraging hint for MPEG2 (#2821).
Diffstat (limited to 'test/hints_test.cc')
| -rw-r--r-- | test/hints_test.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hints_test.cc b/test/hints_test.cc index 56a0964c4..1b510f9e7 100644 --- a/test/hints_test.cc +++ b/test/hints_test.cc @@ -296,3 +296,16 @@ BOOST_AUTO_TEST_CASE (hints_certificate_validity) ); } + +BOOST_AUTO_TEST_CASE(hints_mpeg2) +{ + auto film = new_test_film("hints_certificate_validity"); + film->set_video_encoding(VideoEncoding::MPEG2); + auto hints = get_hints(film); + BOOST_REQUIRE_EQUAL(hints.size(), 1U); + BOOST_CHECK_EQUAL( + hints[0], + "The vast majority of cinemas in Europe, Australasia and North America expect DCPs " + "encoded with JPEG2000 rather than MPEG2. Make sure that your cinema really wants an old-style MPEG2 DCP." + ); +} |
