diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-16 10:46:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-16 10:46:57 +0100 |
| commit | 8142f2bc2e9cf757cb94753b1dda8f25b0ebaa22 (patch) | |
| tree | 6ae014508dedb7ab9787fd12665b637fed2d8e5f /src/lib | |
| parent | 936cd11b4c46f99ca5fe4d960cedfb05c82dbccf (diff) | |
Fix slightly short video reels in some cases.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |
