summaryrefslogtreecommitdiff
path: root/src/wx/standard_controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-16 00:44:31 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-16 00:46:34 +0100
commit19760ad4cf6d348416444e515b5e709be565f81e (patch)
tree55c889deb559ce325fd436bdfb8b97170a15e14c /src/wx/standard_controls.cc
parent3e3e8433842820ce6380e8f5c1917ae1a28e2e57 (diff)
Move stress testing code into a separate class and always build it.
Fix stress script generation to always reload a DCP rather than expecting it to be available after it has finished playback.
Diffstat (limited to 'src/wx/standard_controls.cc')
-rw-r--r--src/wx/standard_controls.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wx/standard_controls.cc b/src/wx/standard_controls.cc
index e9a31c86b..5df89f8fe 100644
--- a/src/wx/standard_controls.cc
+++ b/src/wx/standard_controls.cc
@@ -75,7 +75,6 @@ StandardControls::setup_sensitivity ()
_play_button->Enable (_film && !_film->content().empty() && !active_job);
}
-#ifdef DCPOMATIC_PLAYER_STRESS_TEST
void
StandardControls::play ()
{
@@ -89,4 +88,3 @@ StandardControls::stop ()
_play_button->SetValue (false);
play_clicked ();
}
-#endif