diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-06-30 01:59:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-06-30 01:59:18 +0200 |
| commit | d21efc88c0c5549160a55cd25d6bc2098752cf75 (patch) | |
| tree | cf314b735e5a782f94c4183fbe974151864a8437 /test/player_test.cc | |
| parent | 53b3783a9d493dae07c51d6b99cd238bfcfca5b5 (diff) | |
Clean up after some more tests.
Diffstat (limited to 'test/player_test.cc')
| -rw-r--r-- | test/player_test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/player_test.cc b/test/player_test.cc index 6db90f2dd..a72e5fc17 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -545,18 +545,22 @@ BOOST_AUTO_TEST_CASE (interleaved_subtitle_are_emitted_correctly) BOOST_AUTO_TEST_CASE(multiple_sound_files_bug) { + Cleanup cl; + Config::instance()->set_log_types(Config::instance()->log_types() | LogEntry::TYPE_DEBUG_PLAYER); auto A = content_factory(TestPaths::private_data() / "kook" / "1.wav").front(); auto B = content_factory(TestPaths::private_data() / "kook" / "2.wav").front(); auto C = content_factory(TestPaths::private_data() / "kook" / "3.wav").front(); - auto film = new_test_film2("multiple_sound_files_bug", { A, B, C }); + auto film = new_test_film2("multiple_sound_files_bug", { A, B, C }, &cl); C->set_position(film, DCPTime(3840000)); make_and_verify_dcp(film, { dcp::VerificationNote::Code::MISSING_CPL_METADATA }); check_mxf_audio_file(TestPaths::private_data() / "kook" / "reference.mxf", dcp_file(film, "pcm_")); + + cl.run(); } |
