summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/player.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index fd83886db..a186202db 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -549,13 +549,16 @@ Player::pass ()
fill_from = _last_seek_time;
}
+ bool filled = false;
if (fill_from && ((fill_towards - fill_from.get())) > one_video_frame()) {
emit_video (black_player_video_frame(), fill_from.get());
+ filled = true;
} else if (_playlist->length() == DCPTime()) {
emit_video (black_player_video_frame(), DCPTime());
+ filled = true;
}
- if (!earliest && !fill_from) {
+ if (!earliest && !filled) {
return true;
}