mirror of
https://github.com/samsonjs/media.git
synced 2026-04-21 13:55:47 +00:00
Increase GL release timeout to 500 ms
Based on 1000 test runs an emulator, with the current timeout releasing fails (even with no custom effects) about one percent of the time. Releasing normally completes in about 30 ms but occasionally `eglTerminate` took up to 200 ms (and even releasing an effect took up to 80 ms in one case). With the new timeout of 500 ms, we still catch stuck effects reasonably quickly but the number of flaky test failures should be less than one in ten thousand. PiperOrigin-RevId: 512690715
This commit is contained in:
parent
28545c6673
commit
05d3652443
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
|||
|
||||
private static final String TAG = "DefaultFrameProcessor";
|
||||
private static final String THREAD_NAME = "Effect:GlThread";
|
||||
private static final long RELEASE_WAIT_TIME_MS = 100;
|
||||
private static final long RELEASE_WAIT_TIME_MS = 500;
|
||||
|
||||
private final EGLDisplay eglDisplay;
|
||||
private final EGLContext eglContext;
|
||||
|
|
|
|||
Loading…
Reference in a new issue