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, 3 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index dd064d3cd..0d55dd207 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -630,9 +630,10 @@ Player::video (weak_ptr<Piece> wp, ContentVideo video)
return;
}
- /* Fill gaps caused by (the hopefully rare event of) a decoder not emitting contiguous video */
+ /* Fill gaps caused by (the hopefully rare event of) a decoder not emitting contiguous video. We have to do this here
+ as in the problematic case we are about to emit a frame which is not contiguous with the previous.
+ */
- /* XXX: is this necessary? can it be done by the fill in pass? */
if (_last_video_time) {
fill_video (DCPTimePeriod (_last_video_time.get(), time));
}