Logging in test.
authorCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 21:44:27 +0000 (21:44 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 23 Nov 2018 21:44:27 +0000 (21:44 +0000)
test/4k_test.cc

index da3fdf0201da913c676dae7eb4e7e2901493f3c6..82c5a2583ef64fbd4ef100d8997a1c94e885bd89 100644 (file)
@@ -33,6 +33,7 @@
 #include "lib/dcp_content_type.h"
 #include "lib/video_content.h"
 #include "lib/ratio.h"
+#include "lib/dcpomatic_log.h"
 #include "test.h"
 
 using boost::shared_ptr;
@@ -40,6 +41,7 @@ using boost::shared_ptr;
 BOOST_AUTO_TEST_CASE (fourk_test)
 {
        shared_ptr<Film> film = new_test_film ("4k_test");
+       dcpomatic_log = film->log ();
        film->set_name ("4k_test");
        shared_ptr<FFmpegContent> c (new FFmpegContent("test/data/test.mp4"));
        film->set_resolution (RESOLUTION_4K);