summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-23 12:35:07 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-23 12:35:09 +0200
commit0ae0428494f6f3d23ac8224561b73607f524b32c (patch)
treea8f48f3bec5b595cd7eaac5f168734d1b6f5293a /test
parentce596021e11ea3b579f759436d66c43ac107d3d1 (diff)
Remove log handling from Film.
It should be the main UI's responsibility to set up dcpomatic_log, maybe writing it to the film's directory if it wants to.
Diffstat (limited to 'test')
-rw-r--r--test/4k_test.cc1
-rw-r--r--test/optimise_stills_test.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/test/4k_test.cc b/test/4k_test.cc
index a1b9477b1..562dc1188 100644
--- a/test/4k_test.cc
+++ b/test/4k_test.cc
@@ -46,7 +46,6 @@ BOOST_AUTO_TEST_CASE (fourk_test)
{
auto c = make_shared<FFmpegContent>("test/data/test.mp4");
auto film = new_test_film("4k_test", { c });
- LogSwitcher ls (film->log());
film->set_resolution (Resolution::FOUR_K);
film->set_dcp_content_type(DCPContentType::from_isdcf_name("FTR"));
diff --git a/test/optimise_stills_test.cc b/test/optimise_stills_test.cc
index c0049507d..996119841 100644
--- a/test/optimise_stills_test.cc
+++ b/test/optimise_stills_test.cc
@@ -76,7 +76,6 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test1)
{
auto content = content_factory("test/data/flat_red.png")[0];
auto film = new_test_film("optimise_stills_test1", { content });
- LogSwitcher ls (film->log());
make_and_verify_dcp (film);
check ("optimise_stills_test1", 1, 10 * 24 - 1);
@@ -88,7 +87,6 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test2)
{
auto content = content_factory("test/data/flat_red.png")[0];
auto film = new_test_film("optimise_stills_test2", { content });
- LogSwitcher ls (film->log());
content->video->set_frame_type (VideoFrameType::THREE_D_LEFT_RIGHT);
film->set_three_d (true);
make_and_verify_dcp (film);