diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-04 21:18:28 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-04 21:18:28 +0200 |
| commit | c3fc0d69e0563099d40e0a4ab787c0d3264f865b (patch) | |
| tree | b2e1e4cd03e5808a8a690b79159d13baa2994942 /src/lib | |
| parent | 4478c6f19d0b1060727ac80c5809d5435f47188e (diff) | |
Make sure MPEG2 encodes are always 2K (#2819).
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/film.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 4dff0bd76..292004a8c 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1675,8 +1675,9 @@ Film::check_settings_consistency () auto const hd = Ratio::from_id("178"); if (video_encoding() == VideoEncoding::MPEG2) { - if (container() != hd) { + if (container() != hd || resolution() == Resolution::FOUR_K) { set_container(hd); + set_resolution(Resolution::TWO_K); Message(_("DCP-o-matic had to set your container to 1920x1080 as it's the only one that can be used with MPEG2 encoding.")); } if (three_d()) { |
