summaryrefslogtreecommitdiff
path: root/src/wx/playlist_controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-15 23:22:50 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-15 23:22:50 +0100
commit3e3e8433842820ce6380e8f5c1917ae1a28e2e57 (patch)
tree4b93fad5288eb161affe643b092cbb942ab2a43f /src/wx/playlist_controls.cc
parentfbde12105a43cddb32ef2736cafd540cc5a70dda (diff)
Fix player stress testing with expanded controls.
Also correctly wait with a stress test until the DCP open has completely finished.
Diffstat (limited to 'src/wx/playlist_controls.cc')
-rw-r--r--src/wx/playlist_controls.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc
index 844e15f04..edc4485e6 100644
--- a/src/wx/playlist_controls.cc
+++ b/src/wx/playlist_controls.cc
@@ -454,3 +454,17 @@ PlaylistControls::viewer_finished ()
_pause_button->Enable (false);
}
}
+
+#ifdef DCPOMATIC_PLAYER_STRESS_TEST
+void
+PlaylistControls::play ()
+{
+ play_clicked ();
+}
+
+void
+PlaylistControls::stop ()
+{
+ stop_clicked ();
+}
+#endif