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.
|
// next frame as soon as possible.
|
||||||
videoFrameReleaseControl.join(/* renderNextFrameImmediately= */ true);
|
videoFrameReleaseControl.join(/* renderNextFrameImmediately= */ true);
|
||||||
}
|
}
|
||||||
videoSinkProvider.setOutputSurfaceInfo(displaySurface, Size.UNKNOWN);
|
|
||||||
} else {
|
} else {
|
||||||
// The display surface has been removed.
|
// The display surface has been removed.
|
||||||
reportedVideoSize = null;
|
reportedVideoSize = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user