summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-10 16:48:33 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-10 16:49:48 +0000
commit6b57a4d4516272cfd9b3b3ae982da7285fb879d3 (patch)
tree8f77a0bb172f45eed2917bf0a7043828316d2344 /src
parent52d830a586c8091ad352a04dcb0a14df8fe9b247 (diff)
Update audio channel mapping control when a different stream is selected.
Diffstat (limited to 'src')
-rw-r--r--src/wx/audio_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc
index b4921904c..f96eeec2b 100644
--- a/src/wx/audio_panel.cc
+++ b/src/wx/audio_panel.cc
@@ -130,6 +130,7 @@ AudioPanel::film_content_changed (shared_ptr<Content> c, int property)
_sizer->Layout ();
} else if (property == FFmpegContentProperty::AUDIO_STREAM) {
setup_stream_description ();
+ _mapping->set (ac ? ac->audio_mapping () : AudioMapping ());
} else if (property == FFmpegContentProperty::AUDIO_STREAMS) {
_stream->Clear ();
if (fc) {