projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f25349
)
Fix UI update when audio processor changes.
author
Carl Hetherington
<cth@carlh.net>
Wed, 3 Jun 2015 09:41:01 +0000
(10:41 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 3 Jun 2015 09:41:01 +0000
(10:41 +0100)
src/wx/dcp_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/dcp_panel.cc
b/src/wx/dcp_panel.cc
index 96a7e6abcf764645b4e5efaff6e5e6f6afd8ee21..786f294b0cb03474fbc4f1f46625e27074f58f2d 100644
(file)
--- a/
src/wx/dcp_panel.cc
+++ b/
src/wx/dcp_panel.cc
@@
-355,6
+355,13
@@
DCPPanel::film_changed (int p)
checked_set (_standard, _film->interop() ? 1 : 0);
setup_dcp_name ();
break;
+ case Film::AUDIO_PROCESSOR:
+ if (_film->audio_processor ()) {
+ checked_set (_audio_processor, _film->audio_processor()->id());
+ } else {
+ checked_set (_audio_processor, 0);
+ }
+ break;
default:
break;
}
@@
-446,6
+453,7
@@
DCPPanel::set_film (shared_ptr<Film> film)
film_changed (Film::SEQUENCE_VIDEO);
film_changed (Film::THREE_D);
film_changed (Film::INTEROP);
+ film_changed (Film::AUDIO_PROCESSOR);
}
void