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:10:16 +0100 |
| commit | f7610c3c202df736c518a826bef21da41df38aa4 (patch) | |
| tree | 2f1ca97a02b54ca02bcb89eaaf2cba85ab39f305 /src/tools | |
| parent | 5f206d32ff60148ab72b35d5823f56bdbb7f50bf (diff) | |
Add --gain option to dcpomatic_create.
Diffstat (limited to 'src/tools')
| -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 d78aef3df..e6c948d2d 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); + } } } |
