projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
936cd11
)
Fix slightly short video reels in some cases.
author
Carl Hetherington
<cth@carlh.net>
Tue, 16 May 2017 09:46:57 +0000
(10:46 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 16 May 2017 09:46:57 +0000
(10:46 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 8ebeb236d2fb27428ff03b571380bef51f68b976..2fc062bb513baf1d8c7ea2a0ae7a2145c079ee0c 100644
(file)
--- 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)
*/
/* 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()) {
emit_video (black_player_video_frame(), *video_fill_from);
filled = true;
} else if (_playlist->length() == DCPTime()) {