X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontrols.cc;h=27139f1f5a8608b2b6c63c71e711863033373a34;hb=f6557e4bedd788a026d48fe883cb48a1070dc886;hp=0c12ba4634cd06c69a6bd2a095883fd842deb70a;hpb=98b1d9ae3188a7419182b747caa16739bf649039;p=dcpomatic.git diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 0c12ba463..27139f1f5 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -406,3 +406,13 @@ Controls::film_change (ChangeType type, Film::Property p) } } } + +#ifdef DCPOMATIC_PLAYER_STRESS_TEST +void +Controls::seek (int slider) +{ + _slider->SetValue (slider); + slider_moved (false); + slider_released (); +} +#endif