Don't request idle get if we are starting playback again.
authorCarl Hetherington <cth@carlh.net>
Tue, 5 Nov 2019 20:20:32 +0000 (21:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 5 Nov 2019 20:20:32 +0000 (21:20 +0100)
src/wx/film_viewer.cc

index 89702ac..495b825 100644 (file)
@@ -583,9 +583,10 @@ FilmViewer::seek (DCPTime t, bool accurate)
 
        _closed_captions_dialog->clear ();
        _butler->seek (t, accurate);
-       request_idle_get ();
 
-       if (was_running) {
+       if (!was_running) {
+               request_idle_get ();
+       } else {
                start ();
        }
 }