X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2F4k_test.cc;h=c5418e9dd5bd4ed85b395d6909db90f78b3a1996;hb=5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f;hp=033796ab23d2e65cc58c5461ec6316765a3eb95f;hpb=4e83acad0c2a5c528709a175a80261b8147d3b49;p=dcpomatic.git diff --git a/test/4k_test.cc b/test/4k_test.cc index 033796ab2..c5418e9dd 100644 --- a/test/4k_test.cc +++ b/test/4k_test.cc @@ -24,21 +24,23 @@ * The output is checked against test/data/4k_test. */ -#include #include "lib/film.h" #include "lib/ffmpeg_content.h" #include "lib/dcp_content_type.h" #include "lib/video_content.h" #include "lib/ratio.h" #include "test.h" +#include +#include using boost::shared_ptr; +using boost::make_shared; BOOST_AUTO_TEST_CASE (fourk_test) { shared_ptr film = new_test_film ("4k_test"); film->set_name ("4k_test"); - shared_ptr c (new FFmpegContent (film, "test/data/test.mp4")); + shared_ptr c = make_shared (film, "test/data/test.mp4"); film->set_resolution (RESOLUTION_4K); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR")); film->set_container (Ratio::from_id ("185"));