From: Carl Hetherington Date: Wed, 11 Oct 2023 22:52:57 +0000 (+0200) Subject: Tolerate LsLss / RsRss as channel IDs (#2629). X-Git-Tag: v1.8.85 X-Git-Url: https://git.carlh.net/gitweb/?p=libdcp.git;a=commitdiff_plain;h=0f468748557a3c99c708b2fccafc541776125524 Tolerate LsLss / RsRss as channel IDs (#2629). I didn't yet find a reference which tells me what they are, but there have been multiple reports of DCPs that have this channel ID and so (before) could not be added to a DoM project. --- diff --git a/src/types.cc b/src/types.cc index 0546c476..dfabb3e2 100644 --- a/src/types.cc +++ b/src/types.cc @@ -539,9 +539,9 @@ dcp::mca_id_to_channel (string id) return Channel::CENTRE; } else if (id == "lfe") { return Channel::LFE; - } else if (id == "ls" || id == "lss") { + } else if (id == "ls" || id == "lss" || id == "lslss") { return Channel::LS; - } else if (id == "rs" || id == "rss") { + } else if (id == "rs" || id == "rss" || id == "rsrss") { return Channel::RS; } else if (id == "hi") { return Channel::HI;