Don't return 'no video' from get_video() until the player has finished and we have...
authorCarl Hetherington <cth@carlh.net>
Tue, 18 Apr 2017 09:29:43 +0000 (10:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 19 Apr 2017 22:04:32 +0000 (23:04 +0100)
src/lib/butler.cc

index ca58bc1..de982a0 100644 (file)
@@ -112,7 +112,7 @@ Butler::get_video ()
                _arrived.wait (lm);
        }
 
-       if (_finished) {
+       if (_video.empty() && _finished) {
                return make_pair (shared_ptr<PlayerVideo>(), DCPTime());
        }