diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-26 00:29:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-29 17:43:07 +0200 |
| commit | 76dcdc1b73a15b4d38bd7280af7b997f9bec7d67 (patch) | |
| tree | 61102ab1323f35c936051aa54ffb7ff9da000607 /src/lib/create_cli.cc | |
| parent | df0e4e0278e66a27f8f3980e53d262332695f679 (diff) | |
Add create support for some more audio channels.
Diffstat (limited to 'src/lib/create_cli.cc')
| -rw-r--r-- | src/lib/create_cli.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index 107311d59..2cbff6e85 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -55,7 +55,7 @@ string CreateCLI::_help = " --j2k-bandwidth <Mbit/s> J2K bandwidth in Mbit/s\n" " --left-eye next piece of content is for the left eye\n" " --right-eye next piece of content is for the right eye\n" - " --channel <channel> next piece of content should be mapped to audio channel L, R, C, Lfe, Ls or Rs\n" + " --channel <channel> next piece of content should be mapped to audio channel L, R, C, Lfe, Ls, Rs, BsL, BsR, HI, VI\n" " --gain next piece of content should have the given audio gain (in dB)\n" " --cpl <id> CPL ID to use from the next piece of content (which is a DCP)\n" " --kdm <file> KDM for next piece of content\n"; @@ -208,6 +208,14 @@ CreateCLI::CreateCLI (int argc, char* argv[]) return dcp::Channel::LS; } else if (channel == "Rs") { return dcp::Channel::RS; + } else if (channel == "BsL") { + return dcp::Channel::BSL; + } else if (channel == "BsR") { + return dcp::Channel::BSR; + } else if (channel == "HI") { + return dcp::Channel::HI; + } else if (channel == "VI") { + return dcp::Channel::VI; } else { return {}; } |
