diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-11 00:31:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 7557ce631ab3e0b62e9683d03ef641e86a93a5de (patch) | |
| tree | 91f5ba753f38b14b48e2ee46dd5383a7753628fc | |
| parent | 0aa823f1a0a418a5345af1907effaab51e225274 (diff) | |
Make a DCP in the ffmpeg no-audio test case.
| -rw-r--r-- | test/ffmpeg_audio_only_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc index a0c39b9c1..8541cceca 100644 --- a/test/ffmpeg_audio_only_test.cc +++ b/test/ffmpeg_audio_only_test.cc @@ -19,6 +19,7 @@ #include "lib/film.h" #include "lib/ffmpeg_content.h" +#include "lib/dcp_content_type.h" #include "test.h" #include <boost/test/unit_test.hpp> @@ -29,9 +30,10 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_only_test) { shared_ptr<Film> film = new_test_film ("ffmpeg_audio_only_test"); film->set_name ("test_film"); + film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/sine_440.mp3")); film->examine_and_add_content (c); wait_for_jobs (); - film->write_metadata (); + film->make_dcp (); + wait_for_jobs (); } - |
