mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
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:
parent
50345b03aa
commit
142496fa16
@ -573,12 +573,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
super.onPositionReset(positionUs, joining);
|
super.onPositionReset(positionUs, joining);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void onStarted() throws ExoPlaybackException {
|
|
||||||
super.onStarted();
|
|
||||||
videoSink.startRendering();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean maybeInitializeProcessingPipeline() throws ExoPlaybackException {
|
protected boolean maybeInitializeProcessingPipeline() throws ExoPlaybackException {
|
||||||
if (videoSink.isInitialized()) {
|
if (videoSink.isInitialized()) {
|
||||||
@ -592,12 +586,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void onStopped() {
|
|
||||||
super.onStopped();
|
|
||||||
videoSink.stopRendering();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onStreamChanged(
|
protected void onStreamChanged(
|
||||||
Format[] formats,
|
Format[] formats,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user