Don't emit video until film's end if we are seeking.
[dcpomatic.git] / src / lib / player.cc
index dba02cfbafaf02ecf5f63a0e93719fc9df06a1d2..913d7392f9084c96d204605a0b758ad35c8951d2 100644 (file)
@@ -887,8 +887,10 @@ Player::pass ()
        }
 
        if (done) {
-               LOG_DEBUG_PLAYER("Done: emit video until end of film at %1", to_string(film->length()));
-               emit_video_until(film->length());
+               if (_next_video_time) {
+                       LOG_DEBUG_PLAYER("Done: emit video until end of film at %1", to_string(film->length()));
+                       emit_video_until(film->length());
+               }
 
                if (_shuffler) {
                        _shuffler->flush ();