summaryrefslogtreecommitdiff
path: root/test/ffmpeg_encoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-29 01:47:32 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-29 01:47:32 +0100
commitce73eaf7875a9a3326afcd839ad85eb95879c160 (patch)
treec4cff45a7bada9aebf48b6e51c5dffe086045e20 /test/ffmpeg_encoder_test.cc
parent0f772d68ef7fb32002538ce9ca7c9764d0d7135b (diff)
Cleanup: test tidying.
Diffstat (limited to 'test/ffmpeg_encoder_test.cc')
-rw-r--r--test/ffmpeg_encoder_test.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/ffmpeg_encoder_test.cc b/test/ffmpeg_encoder_test.cc
index 0881d2e2e..90bac56ef 100644
--- a/test/ffmpeg_encoder_test.cc
+++ b/test/ffmpeg_encoder_test.cc
@@ -40,9 +40,8 @@
#include <boost/test/unit_test.hpp>
-using std::string;
-using std::shared_ptr;
using std::make_shared;
+using std::string;
using namespace dcpomatic;
@@ -387,9 +386,9 @@ BOOST_AUTO_TEST_CASE (ffmpeg_encoder_h264_test8)
/** 7.1/HI/VI (i.e. 12-channel) project */
BOOST_AUTO_TEST_CASE (ffmpeg_encoder_h264_test9)
{
- shared_ptr<Film> film = new_test_film ("ffmpeg_encoder_prores_test9");
- film->set_name ("ffmpeg_encoder_prores_test9");
auto c = make_shared<ImageContent>(TestPaths::private_data() / "bbc405.png");
+ auto film = new_test_film2("ffmpeg_encoder_prores_test9", { c });
+ film->set_name ("ffmpeg_encoder_prores_test9");
film->set_container (Ratio::from_id ("185"));
film->set_audio_channels (12);