diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-23 12:35:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-23 12:35:09 +0200 |
| commit | 0ae0428494f6f3d23ac8224561b73607f524b32c (patch) | |
| tree | a8f48f3bec5b595cd7eaac5f168734d1b6f5293a /src/lib/film.cc | |
| parent | ce596021e11ea3b579f759436d66c43ac107d3d1 (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 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index c6a6f3cce..f726b2549 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -43,14 +43,12 @@ #include "exceptions.h" #include "ffmpeg_content.h" #include "ffmpeg_subtitle_stream.h" -#include "file_log.h" #include "film.h" #include "film_util.h" #include "font.h" #include "job.h" #include "job_manager.h" #include "kdm_with_metadata.h" -#include "null_log.h" #include "playlist.h" #include "ratio.h" #include "screen.h" @@ -221,12 +219,6 @@ Film::Film(optional<boost::filesystem::path> dir) _directory = dcp::filesystem::weakly_canonical(*dir); } - if (_directory) { - _log = make_shared<FileLog>(file("log")); - } else { - _log = make_shared<NullLog>(); - } - _playlist->set_sequence(_sequence); } |
