Set _finished to false when requesting a seek so that the next
authorCarl Hetherington <cth@carlh.net>
Mon, 8 May 2017 10:26:25 +0000 (11:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 8 May 2017 10:26:25 +0000 (11:26 +0100)
get_video() calls pass() enough times to get some data.

src/lib/butler.cc

index 29f16833595286b0207a6b1628dd5b16928ec3e0..f7e7222725455c71cb8c78590c8c4fb428dcba72 100644 (file)
@@ -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 ();