diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-06 11:11:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-06 11:12:31 +0100 |
| commit | 5029bf180a8b29c8e9f1aeef1c398b05e01eb663 (patch) | |
| tree | b599b89fe3ea1536031f15d7605c17d16d24a691 /src/wx | |
| parent | 59e358ae25f84314afc6d8235aecaec124822f3f (diff) | |
Clarify and improve decoder/player/butler logging a bit.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/full_config_dialog.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index eff3fdee2..95c4b7052 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -1298,6 +1298,8 @@ private: t->Add(_log_debug_player, 1, wxEXPAND | wxALL); _log_debug_audio_analysis = new CheckBox(_panel, _("Debug: audio analysis")); t->Add(_log_debug_audio_analysis, 1, wxEXPAND | wxALL); + _log_debug_butler = new CheckBox(_panel, _("Debug: butler")); + t->Add(_log_debug_butler, 1, wxEXPAND | wxALL); table->Add(t, 0, wxALL, 6); } @@ -1328,6 +1330,7 @@ private: _log_debug_video_view->bind(&AdvancedPage::log_changed, this); _log_debug_player->bind(&AdvancedPage::log_changed, this); _log_debug_audio_analysis->bind(&AdvancedPage::log_changed, this); + _log_debug_butler->bind(&AdvancedPage::log_changed, this); #ifdef DCPOMATIC_WINDOWS _win32_console->bind(&AdvancedPage::win32_console_changed, this); #endif @@ -1358,6 +1361,7 @@ private: checked_set(_log_debug_video_view, config->log_types() & LogEntry::TYPE_DEBUG_VIDEO_VIEW); checked_set(_log_debug_player, config->log_types() & LogEntry::TYPE_DEBUG_PLAYER); checked_set(_log_debug_audio_analysis, config->log_types() & LogEntry::TYPE_DEBUG_AUDIO_ANALYSIS); + checked_set(_log_debug_butler, config->log_types() & LogEntry::TYPE_DEBUG_BUTLER); checked_set(_frames_in_memory_multiplier, config->frames_in_memory_multiplier()); #ifdef DCPOMATIC_WINDOWS checked_set(_win32_console, config->win32_console()); @@ -1436,6 +1440,9 @@ private: if (_log_debug_audio_analysis->GetValue()) { types |= LogEntry::TYPE_DEBUG_AUDIO_ANALYSIS; } + if (_log_debug_butler->GetValue()) { + types |= LogEntry::TYPE_DEBUG_BUTLER; + } Config::instance()->set_log_types(types); } @@ -1463,6 +1470,7 @@ private: CheckBox* _log_debug_video_view = nullptr; CheckBox* _log_debug_player = nullptr; CheckBox* _log_debug_audio_analysis = nullptr; + CheckBox* _log_debug_butler = nullptr; #ifdef DCPOMATIC_WINDOWS CheckBox* _win32_console = nullptr; #endif |
