diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-12 00:35:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-09-12 00:35:39 +0200 |
| commit | a0cb1f6a1e028eaf81ad23ba1577e330a05f6c9d (patch) | |
| tree | 59e8a733082830ebb112ed0b69bb378a01763d57 | |
| parent | 23306255085a0b48168d51629f38597ee0bf80ce (diff) | |
Always add -CCAP to ISDCF names if there are ccaps.
| -rw-r--r-- | src/lib/film.cc | 7 |
1 files changed, 4 insertions, 3 deletions
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); |
