summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-08 00:17:27 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-08 00:35:55 +0100
commitf478cdb255a1c9cfb5f172ea9ad3ed64f8bd6de1 (patch)
treeeaa3a74b1a95cd4a67f3172d2e49dfcb102f4cf1 /src/lib
parent65f95aa3614fc1b633c38e173349b123a191447f (diff)
Fix comment.
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));
}