mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix variable name
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199120421
This commit is contained in:
parent
8e4e5fe0cc
commit
bdaea799f1
1 changed files with 7 additions and 7 deletions
|
|
@ -156,7 +156,7 @@ public final class DummySurface extends Surface {
|
||||||
private static final int MSG_INIT = 1;
|
private static final int MSG_INIT = 1;
|
||||||
private static final int MSG_RELEASE = 2;
|
private static final int MSG_RELEASE = 2;
|
||||||
|
|
||||||
private @MonotonicNonNull EGLSurfaceTexture eglSurfaceTexure;
|
private @MonotonicNonNull EGLSurfaceTexture eglSurfaceTexture;
|
||||||
private @MonotonicNonNull Handler handler;
|
private @MonotonicNonNull Handler handler;
|
||||||
private @Nullable Error initError;
|
private @Nullable Error initError;
|
||||||
private @Nullable RuntimeException initException;
|
private @Nullable RuntimeException initException;
|
||||||
|
|
@ -169,7 +169,7 @@ public final class DummySurface extends Surface {
|
||||||
public DummySurface init(@SecureMode int secureMode) {
|
public DummySurface init(@SecureMode int secureMode) {
|
||||||
start();
|
start();
|
||||||
handler = new Handler(getLooper(), /* callback= */ this);
|
handler = new Handler(getLooper(), /* callback= */ this);
|
||||||
eglSurfaceTexure = new EGLSurfaceTexture(handler);
|
eglSurfaceTexture = new EGLSurfaceTexture(handler);
|
||||||
boolean wasInterrupted = false;
|
boolean wasInterrupted = false;
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget();
|
handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget();
|
||||||
|
|
@ -232,16 +232,16 @@ public final class DummySurface extends Surface {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initInternal(@SecureMode int secureMode) {
|
private void initInternal(@SecureMode int secureMode) {
|
||||||
Assertions.checkNotNull(eglSurfaceTexure);
|
Assertions.checkNotNull(eglSurfaceTexture);
|
||||||
eglSurfaceTexure.init(secureMode);
|
eglSurfaceTexture.init(secureMode);
|
||||||
this.surface =
|
this.surface =
|
||||||
new DummySurface(
|
new DummySurface(
|
||||||
this, eglSurfaceTexure.getSurfaceTexture(), secureMode != SECURE_MODE_NONE);
|
this, eglSurfaceTexture.getSurfaceTexture(), secureMode != SECURE_MODE_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void releaseInternal() {
|
private void releaseInternal() {
|
||||||
Assertions.checkNotNull(eglSurfaceTexure);
|
Assertions.checkNotNull(eglSurfaceTexture);
|
||||||
eglSurfaceTexure.release();
|
eglSurfaceTexture.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue