X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fskip_frame_test.cc;h=b98b80334fa5e232b3060960c94ae37257b0d064;hp=8ff43a4ca6d8cf8b22945403520168e92b8f34e1;hb=5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05 diff --git a/test/skip_frame_test.cc b/test/skip_frame_test.cc index 8ff43a4ca..b98b80334 100644 --- a/test/skip_frame_test.cc +++ b/test/skip_frame_test.cc @@ -25,15 +25,17 @@ * @see test/repeat_frame_test.cc */ -#include #include "test.h" #include "lib/film.h" #include "lib/ratio.h" #include "lib/ffmpeg_content.h" #include "lib/dcp_content_type.h" #include "lib/video_content.h" +#include +#include using boost::shared_ptr; +using boost::make_shared; BOOST_AUTO_TEST_CASE (skip_frame_test) { @@ -41,7 +43,7 @@ BOOST_AUTO_TEST_CASE (skip_frame_test) film->set_name ("skip_frame_test"); film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); - shared_ptr c (new FFmpegContent (film, "test/data/count300bd48.m2ts")); + shared_ptr c = make_shared (film, "test/data/count300bd48.m2ts"); film->examine_and_add_content (c); wait_for_jobs ();