From 0896035400ab6a6e52e9c32a030ab176b2e655bb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 May 2017 16:57:45 +0100 Subject: Timer period must apparently be > 0 (on OS X at least). --- src/wx/film_viewer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index a0cc25ab9..83a179f26 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -325,7 +325,7 @@ FilmViewer::timer () stop (); } - _timer.Start (max ((next.seconds() - time().seconds()) * 1000, 0.0), wxTIMER_ONE_SHOT); + _timer.Start (max ((next.seconds() - time().seconds()) * 1000, 1.0), wxTIMER_ONE_SHOT); if (_butler) { _butler->rethrow (); -- cgit v1.2.3