summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-08 11:26:25 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-08 11:26:25 +0100
commit3bcfb29555c8af6b1227b9048c8c851fb4b16850 (patch)
tree927e75ccd913251cb444e527875afb55299f5c80 /src/lib
parent58e851f428a035841acf0196348a0643230ed808 (diff)
Set _finished to false when requesting a seek so that the next
get_video() calls pass() enough times to get some data.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/butler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index 29f168335..f7e722272 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -152,6 +152,7 @@ Butler::seek (DCPTime position, bool accurate)
_video.clear ();
_audio.clear ();
+ _finished = false;
_pending_seek_position = position;
_pending_seek_accurate = accurate;
_summon.notify_all ();