diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-08-11 22:56:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-08-11 22:56:59 +0100 |
| commit | 910ea473219f2e7c672ad437d458316deca67025 (patch) | |
| tree | 1af0895962ad3e122858c42d9b7df54e2d0a9bdd /src/wx/kdm_output_panel.cc | |
| parent | bd83f1b0e1d8e7aae0af51376dbbb88d5e3f69d0 (diff) | |
Allow specification of audio forensic marking (in KDMs) for some channels only. Default to enabling forensic marking for video and audio (up to and including channel 12). Fixes #1498.
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
| -rw-r--r-- | src/wx/kdm_output_panel.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index 181ca74f4..d76a27359 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -49,8 +49,9 @@ using boost::function; KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop) : wxPanel (parent, wxID_ANY) - , _forensic_mark_video (false) - , _forensic_mark_audio (false) + , _forensic_mark_video (true) + , _forensic_mark_audio (true) + , _forensic_mark_audio_up_to (12) { wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, 0); @@ -160,10 +161,11 @@ KDMOutputPanel::setup_sensitivity () void KDMOutputPanel::advanced_clicked () { - KDMAdvancedDialog* d = new KDMAdvancedDialog (this, _forensic_mark_video, _forensic_mark_audio); + KDMAdvancedDialog* d = new KDMAdvancedDialog (this, _forensic_mark_video, _forensic_mark_audio, _forensic_mark_audio_up_to); d->ShowModal (); _forensic_mark_video = d->forensic_mark_video (); _forensic_mark_audio = d->forensic_mark_audio (); + _forensic_mark_audio_up_to = d->forensic_mark_audio_up_to (); d->Destroy (); } |
