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 89702ac0cbe519d56d4a7bb897d3d315f445b709..495b82567c20a0d560a1e3de95a57e28a33d236a 100644 (file)
@@ -583,9 +583,10 @@ FilmViewer::seek (DCPTime t, bool accurate)
 
        _closed_captions_dialog->clear ();
        _butler->seek (t, accurate);
 
        _closed_captions_dialog->clear ();
        _butler->seek (t, accurate);
-       request_idle_get ();
 
 
-       if (was_running) {
+       if (!was_running) {
+               request_idle_get ();
+       } else {
                start ();
        }
 }
                start ();
        }
 }