From: Carl Hetherington Date: Mon, 11 Sep 2023 22:35:39 +0000 (+0200) Subject: Always add -CCAP to ISDCF names if there are ccaps. X-Git-Tag: v2.16.64~6 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=a0cb1f6a1e028eaf81ad23ba1577e330a05f6c9d Always add -CCAP to ISDCF names if there are ccaps. --- diff --git a/src/lib/film.cc b/src/lib/film.cc index 2fa720b02..daa88282d 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -979,14 +979,15 @@ Film::isdcf_name (bool if_created_now) const } isdcf_name += "-" + lang; - if (ccap) { - isdcf_name += "-CCAP"; - } } else { /* No subtitles */ isdcf_name += "-XX"; } + if (ccap) { + isdcf_name += "-CCAP"; + } + if (_release_territory) { auto territory = _release_territory->subtag(); isdcf_name += "_" + to_upper (territory);