Don't return 'no video' from get_video() until the player has finished and we have...
[dcpomatic.git] / src / lib / butler.cc
index ca58bc13ea3ddbfa33ddbc33669e8bad7160b9aa..de982a0feb89a0f65c6aebb042caaab47a763585 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());
        }