Warn if there is no mail server configured when one is needed (#1046).
[dcpomatic.git] / src / wx / film_viewer.cc
index a0cc25ab9f7791943aceacd571104485eae67906..69496b630286eb607f405d1a38e53b14a5d37263 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 ();
@@ -456,7 +456,7 @@ FilmViewer::start ()
        }
 
        _playing = true;
-       _timer.Start (0, wxTIMER_ONE_SHOT);
+       timer ();
 }
 
 bool