diff options
Diffstat (limited to 'test')
| -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." + ); +} |
