X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Frepeat_frame_test.cc;h=d145ccb18f48591ba2242998b4dcd61a7578e449;hp=be39242e7a29a20110f86084d1229fa5a9a18dad;hb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;hpb=e669b562937786bf5b771c927cc03a4074b01be8 diff --git a/test/repeat_frame_test.cc b/test/repeat_frame_test.cc index be39242e7..d145ccb18 100644 --- a/test/repeat_frame_test.cc +++ b/test/repeat_frame_test.cc @@ -25,17 +25,15 @@ * @see test/skip_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 (repeat_frame_test) { @@ -43,7 +41,7 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test) film->set_name ("repeat_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/red_24.mp4"); + shared_ptr c (new FFmpegContent (film, "test/data/red_24.mp4")); film->examine_and_add_content (c); wait_for_jobs ();