X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2F4k_test.cc;h=033796ab23d2e65cc58c5461ec6316765a3eb95f;hb=2268783ea44e97e118d6fd164618fcf736563e29;hp=c5418e9dd5bd4ed85b395d6909db90f78b3a1996;hpb=5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f;p=dcpomatic.git diff --git a/test/4k_test.cc b/test/4k_test.cc index c5418e9dd..033796ab2 100644 --- a/test/4k_test.cc +++ b/test/4k_test.cc @@ -24,23 +24,21 @@ * 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 = make_shared (film, "test/data/test.mp4"); + shared_ptr c (new FFmpegContent (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"));