Add TODO about known feature gap in ImageRenderer

PiperOrigin-RevId: 600404546
(cherry picked from commit b84104e7a1479ef31c9c4b02154d0dd3b031b736)
This commit is contained in:
tonihei 2024-01-22 03:14:04 -08:00 committed by SheenaChhabra
parent 515d2e2578
commit 5b7b19cf3c

View File

@ -201,6 +201,7 @@ public class ImageRenderer extends BaseRenderer {
long offsetUs, long offsetUs,
MediaSource.MediaPeriodId mediaPeriodId) MediaSource.MediaPeriodId mediaPeriodId)
throws ExoPlaybackException { throws ExoPlaybackException {
// TODO: b/319484746 - Take startPositionUs into account to not output images too early.
super.onStreamChanged(formats, startPositionUs, offsetUs, mediaPeriodId); super.onStreamChanged(formats, startPositionUs, offsetUs, mediaPeriodId);
offsetQueue.add(offsetUs); offsetQueue.add(offsetUs);
inputStreamEnded = false; inputStreamEnded = false;