summaryrefslogtreecommitdiff
path: root/test/ffmpeg_audio_only_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:54:37 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-21 23:52:46 +0200
commite3dba6242aed7415eddbbfb1e5d56ce6680603c1 (patch)
tree8628ae20b900cd03638648ef34711a56bf7ef3a6 /test/ffmpeg_audio_only_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/ffmpeg_audio_only_test.cc')
-rw-r--r--test/ffmpeg_audio_only_test.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc
index ea9a9c4e5..2c8f3f54c 100644
--- a/test/ffmpeg_audio_only_test.cc
+++ b/test/ffmpeg_audio_only_test.cc
@@ -78,12 +78,8 @@ audio (std::shared_ptr<AudioBuffers> audio, int channels)
static shared_ptr<Film>
test (boost::filesystem::path file)
{
- auto film = new_test_film ("ffmpeg_audio_only_test");
- film->set_name ("test_film");
- film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
auto c = make_shared<FFmpegContent>(file);
- film->examine_and_add_content (c);
- BOOST_REQUIRE (!wait_for_jobs());
+ auto film = new_test_film2("ffmpeg_audio_only_test", { c });
film->write_metadata ();
/* See if can make a DCP without any errors */