More logging and make it go to the right place.
[dcpomatic.git] / test / 4k_test.cc
index d8d3d66ec0e763c4a391564e9dbf0b88506895ad..0fe492133f5dc0e4a3bc546fa30667620375b79b 100644 (file)
@@ -41,7 +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 ();
+       LogSwitcher ls (film->log());
        film->set_name ("4k_test");
        shared_ptr<FFmpegContent> c (new FFmpegContent("test/data/test.mp4"));
        film->set_resolution (RESOLUTION_4K);