Give a more useful error when check_dcp() fails.
[dcpomatic.git] / test / srt_subtitle_test.cc
index 3863ebf9f26a8aad1250f3f5d482f921dd7aeeb3..0ee9cb197a3f3a38c24aa0ef89b702e79523331f 100644 (file)
@@ -55,6 +55,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test)
        film->set_name ("frobozz");
        film->set_audio_channels (6);
        film->set_interop (false);
+       film->set_audio_channels(16);
        auto content = make_shared<StringTextFileContent>("test/data/subrip2.srt");
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs());
@@ -172,6 +173,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test5)
        film->set_name ("frobozz");
        film->set_interop (true);
        film->set_sequence (false);
+       film->set_audio_channels(6);
        for (auto i = 0; i < 2; ++i) {
                auto content = make_shared<StringTextFileContent>("test/data/subrip2.srt");
                content->only_text()->set_use (true);