Stop rejecting frames later in ExternalTextureManager
If the task executor handles an available frame (task submitted in the SurfaceTexture listener) between the call to registerInputFrame() and the execution of the task submitted in the method (in this CL), it should be rejected. PiperOrigin-RevId: 672903756
This commit is contained in:
parent
327b1c8ad8
commit
a53ea621bb
@ -249,7 +249,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
if (!repeatLastRegisteredFrame) {
|
||||
pendingFrames.add(frame);
|
||||
}
|
||||
shouldRejectIncomingFrames = false;
|
||||
videoFrameProcessingTaskExecutor.submit(() -> shouldRejectIncomingFrames = false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user