diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-15 23:22:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-15 23:22:50 +0100 |
| commit | 3e3e8433842820ce6380e8f5c1917ae1a28e2e57 (patch) | |
| tree | 4b93fad5288eb161affe643b092cbb942ab2a43f /src/wx/playlist_controls.cc | |
| parent | fbde12105a43cddb32ef2736cafd540cc5a70dda (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.cc | 14 |
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 |
