diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-18 00:53:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-18 00:53:17 +0100 |
| commit | 7c0e02d933c243f0559631402e02fb598caf4647 (patch) | |
| tree | 71594f519e77a89103636cd0b63b4cf442912fd7 /src | |
| parent | 7ba0648f7f48a5cc8fc5fca1c2a037ee473583d5 (diff) | |
Add -ISDCF to ISDCF name as required (#2416).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 0ce56a436..e0aa08a77 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1002,6 +1002,10 @@ Film::isdcf_name (bool if_created_now) const isdcf_name += "-VI"; } + if (find_if(content_list.begin(), content_list.end(), [](shared_ptr<Content> c) { return static_cast<bool>(c->atmos); }) != content_list.end()) { + isdcf_name += "-ATMOS"; + } + isdcf_name += "_" + resolution_to_string (_resolution); if (_studio && _studio->length() >= 2) { |
