Always set effects surface and resolution together in MCVR
This change is for simplicity. PiperOrigin-RevId: 630066664
This commit is contained in:
parent
2e3c3eb678
commit
000d1ff0a6
@ -835,7 +835,6 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer
|
||||
// next frame as soon as possible.
|
||||
videoFrameReleaseControl.join(/* renderNextFrameImmediately= */ true);
|
||||
}
|
||||
videoSinkProvider.setOutputSurfaceInfo(displaySurface, Size.UNKNOWN);
|
||||
} else {
|
||||
// The display surface has been removed.
|
||||
reportedVideoSize = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user