summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-23 21:44:27 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-23 21:44:27 +0000
commit3c6ecdeaa56c6ee903112c573db59f82f4002c75 (patch)
tree0b930a510673527094ae042fd7bc0196cb12ff5d
parente8fb1ba1d56aaab01437d4b783ef7c519d785a23 (diff)
Logging in test.
-rw-r--r--test/4k_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/4k_test.cc b/test/4k_test.cc
index da3fdf020..82c5a2583 100644
--- a/test/4k_test.cc
+++ b/test/4k_test.cc
@@ -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);