Tolerate LsLss / RsRss as channel IDs (#2629). v1.8.85
authorCarl Hetherington <cth@carlh.net>
Wed, 11 Oct 2023 22:52:57 +0000 (00:52 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 11 Oct 2023 22:52:59 +0000 (00:52 +0200)
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.

src/types.cc

index 0546c4766ee849e8f8bceb30487b626d45883824..dfabb3e24db90a7f07d9bd8fadcf63e9a257c7e9 100644 (file)
@@ -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;