Remove calls to VideoSink.start/stopRendering from image renderer

These calls are now handled from CompositionPlayer (see fe10ca2c9a)

PiperOrigin-RevId: 750580421
This commit is contained in:
kimvde 2025-04-23 07:13:28 -07:00 committed by Copybara-Service
parent 50345b03aa
commit 142496fa16

View File

@ -573,12 +573,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
super.onPositionReset(positionUs, joining);
}
@Override
protected void onStarted() throws ExoPlaybackException {
super.onStarted();
videoSink.startRendering();
}
@Override
protected boolean maybeInitializeProcessingPipeline() throws ExoPlaybackException {
if (videoSink.isInitialized()) {
@ -592,12 +586,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
}
}
@Override
protected void onStopped() {
super.onStopped();
videoSink.stopRendering();
}
@Override
protected void onStreamChanged(
Format[] formats,