diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-04 23:26:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-04 23:26:33 +0100 |
| commit | 7958804a158e0e2230228292f4e36e0a253fc9e5 (patch) | |
| tree | 87d34c43a10370e0e8ecaf6f5f7b715c5ffb836f /src | |
| parent | e5733b7b96991c4d5fd523147be126bb2aea8191 (diff) | |
Range should be one above the minimum when padding.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 13bef5a24..f6c1163eb 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -1448,7 +1448,7 @@ FilmEditor::setup_minimum_audio_channels () _pad_with_silence->SetValue (_film->audio_stream()->channels() < _film->minimum_audio_channels()); AudioMapping m (_film); - _minimum_audio_channels->SetRange (m.minimum_dcp_channels(), MAX_AUDIO_CHANNELS); + _minimum_audio_channels->SetRange (m.minimum_dcp_channels() + 1, MAX_AUDIO_CHANNELS); } void |
