From c3fc0d69e0563099d40e0a4ab787c0d3264f865b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 4 Jun 2024 21:18:28 +0200 Subject: Make sure MPEG2 encodes are always 2K (#2819). --- src/lib/film.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') 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()) { -- cgit v1.2.3