Timer period must apparently be > 0 (on OS X at least).
authorCarl Hetherington <cth@carlh.net>
Tue, 2 May 2017 15:57:45 +0000 (16:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 May 2017 15:57:45 +0000 (16:57 +0100)
src/wx/film_viewer.cc

index a0cc25ab9f7791943aceacd571104485eae67906..83a179f26d554298cc75fc73285ec120f3d6c2e0 100644 (file)
@@ -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 ();