summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-12 00:52:57 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-12 00:52:59 +0200
commit0f468748557a3c99c708b2fccafc541776125524 (patch)
tree43fbf2ef5c21ef722972dd4b322d33ba996d6f5f
parentf995b72dfdf7e2a2e291dcce6b1790ddd3dd4e6f (diff)
Tolerate LsLss / RsRss as channel IDs (#2629).v1.8.85
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.
-rw-r--r--src/types.cc4
1 files changed, 2 insertions, 2 deletions
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;