mirror of
https://github.com/androidx/media.git
synced 2025-05-13 02:29:52 +08:00
Fix saving previous debugSurfaceView in FinalMatrixTPWrapper.
PiperOrigin-RevId: 465067306
This commit is contained in:
parent
13e9ec9959
commit
bbb7b1c0bc
@ -79,7 +79,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
@Nullable private SurfaceViewWrapper debugSurfaceViewWrapper;
|
@Nullable private SurfaceViewWrapper debugSurfaceViewWrapper;
|
||||||
private @MonotonicNonNull Listener listener;
|
private @MonotonicNonNull Listener listener;
|
||||||
private @MonotonicNonNull Pair<Integer, Integer> outputSizeBeforeSurfaceTransformation;
|
private @MonotonicNonNull Pair<Integer, Integer> outputSizeBeforeSurfaceTransformation;
|
||||||
private @MonotonicNonNull SurfaceView debugSurfaceView;
|
@Nullable private SurfaceView debugSurfaceView;
|
||||||
|
|
||||||
private volatile boolean outputSizeOrRotationChanged;
|
private volatile boolean outputSizeOrRotationChanged;
|
||||||
|
|
||||||
@ -229,6 +229,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
debugSurfaceViewWrapper =
|
debugSurfaceViewWrapper =
|
||||||
new SurfaceViewWrapper(eglDisplay, eglContext, useHdr, debugSurfaceView);
|
new SurfaceViewWrapper(eglDisplay, eglContext, useHdr, debugSurfaceView);
|
||||||
}
|
}
|
||||||
|
this.debugSurfaceView = debugSurfaceView;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (matrixTransformationProcessor != null && outputSizeOrRotationChanged) {
|
if (matrixTransformationProcessor != null && outputSizeOrRotationChanged) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user