X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fskip_frame_test.cc;h=8ff43a4ca6d8cf8b22945403520168e92b8f34e1;hp=b98b80334fa5e232b3060960c94ae37257b0d064;hb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;hpb=e669b562937786bf5b771c927cc03a4074b01be8 diff --git a/test/skip_frame_test.cc b/test/skip_frame_test.cc index b98b80334..8ff43a4ca 100644 --- a/test/skip_frame_test.cc +++ b/test/skip_frame_test.cc @@ -25,17 +25,15 @@ * @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) { @@ -43,7 +41,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 = make_shared (film, "test/data/count300bd48.m2ts"); + shared_ptr c (new FFmpegContent (film, "test/data/count300bd48.m2ts")); film->examine_and_add_content (c); wait_for_jobs ();