From 8142f2bc2e9cf757cb94753b1dda8f25b0ebaa22 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 May 2017 10:46:57 +0100 Subject: Fix slightly short video reels in some cases. --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/player.cc b/src/lib/player.cc index 8ebeb236d..2fc062bb5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -557,7 +557,7 @@ Player::pass () /* Fill some black if we would emit before the earliest piece of content. This is so we act like a phantom Piece which emits black in spaces (we only emit if we are the earliest thing) */ - if (earliest && video_fill_from && *video_fill_from < earliest_content && ((fill_towards - *video_fill_from)) > one_video_frame()) { + if (earliest && video_fill_from && *video_fill_from < earliest_content && ((fill_towards - *video_fill_from)) >= one_video_frame()) { emit_video (black_player_video_frame(), *video_fill_from); filled = true; } else if (_playlist->length() == DCPTime()) { -- cgit v1.2.3