summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-05 21:20:32 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-05 21:20:32 +0100
commit25db72d238179045bf5dcc3dbe87658dd3609d52 (patch)
tree35ef33a7cfc4048303db6a8d9a1ef2e51f2defd1 /src
parente97d48b043fe39ec22687555225d6b4b526a2172 (diff)
Don't request idle get if we are starting playback again.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_viewer.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 89702ac0c..495b82567 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -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 ();
}
}