Fix comment.
authorCarl Hetherington <cth@carlh.net>
Sun, 7 May 2017 23:17:27 +0000 (00:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 May 2017 23:35:55 +0000 (00:35 +0100)
src/lib/player.cc

index dd064d3cdc221b44df74d32b958cf4ade2245e72..0d55dd207d5210843306ecfe4cea68de25fb6ae8 100644 (file)
@@ -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));
        }