X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Foptimise_stills_test.cc;h=d0f2aaa6b51b52a764faed9e10cf1c235c1d4307;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=3e69c95b6173da4d717964a7ba15f037dbb94156;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/test/optimise_stills_test.cc b/test/optimise_stills_test.cc index 3e69c95b6..d0f2aaa6b 100644 --- a/test/optimise_stills_test.cc +++ b/test/optimise_stills_test.cc @@ -28,6 +28,7 @@ #include "lib/dcp_content_type.h" #include "lib/content.h" #include "lib/video_content.h" +#include "lib/dcpomatic_log.h" #include "test.h" #include #include @@ -38,8 +39,8 @@ using std::string; using std::vector; using boost::starts_with; using boost::split; -using boost::dynamic_pointer_cast; -using boost::shared_ptr; +using std::dynamic_pointer_cast; +using std::shared_ptr; static void @@ -72,6 +73,7 @@ check (string name, int check_full, int check_repeat) BOOST_AUTO_TEST_CASE (optimise_stills_test1) { shared_ptr film = new_test_film ("optimise_stills_test1"); + LogSwitcher ls (film->log()); film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); @@ -88,6 +90,7 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test1) BOOST_AUTO_TEST_CASE (optimise_stills_test2) { shared_ptr film = new_test_film ("optimise_stills_test2"); + LogSwitcher ls (film->log()); film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz");