diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-28 20:00:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-29 01:08:53 +0100 |
| commit | 08ed784d80fc2108fa95b3b5089b7bb44a6ee48f (patch) | |
| tree | f2c89eb05f2c1fe5b7a197a023f56657b73db03a /src/tools/dcpomatic_create.cc | |
| parent | 87133162b564d29592eefbbddc02399e880504b6 (diff) | |
Add --gain option to dcpomatic_create.
Diffstat (limited to 'src/tools/dcpomatic_create.cc')
| -rw-r--r-- | src/tools/dcpomatic_create.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index 1c11de3e3..3a240ec85 100644 --- a/src/tools/dcpomatic_create.cc +++ b/src/tools/dcpomatic_create.cc @@ -146,6 +146,9 @@ main (int argc, char* argv[]) stream->set_mapping (mapping); } } + if (j->audio && i.gain) { + j->audio->set_gain (*i.gain); + } } } |
