mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
if (!repeatLastRegisteredFrame) {
|
||||
pendingFrames.add(frame);
|
||||
}
|
||||
shouldRejectIncomingFrames = false;
|
||||
videoFrameProcessingTaskExecutor.submit(() -> shouldRejectIncomingFrames = false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue