summaryrefslogtreecommitdiff
path: root/src/wx/controls.h
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/controls.h
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/controls.h')
-rw-r--r--src/wx/controls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h
index c11d6e8e3..b9c4604b6 100644
--- a/src/wx/controls.h
+++ b/src/wx/controls.h
@@ -52,11 +52,11 @@ public:
virtual void log (wxString) {}
virtual void set_film (boost::shared_ptr<Film> film);
-#ifdef DCPOMATIC_PLAYER_STRESS_TEST
+
virtual void play () {};
virtual void stop () {};
void seek (int slider);
-#endif
+
boost::shared_ptr<Film> film () const;
void back_frame ();
void forward_frame ();