mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Fix hanging ExoPlayerPlaybackSeekTest
The test uses a video renderer to count the number of frames and could time out if some frames were dropped. PiperOrigin-RevId: 670181693
This commit is contained in:
parent
b3b4c80641
commit
748e4e5230
1 changed files with 12 additions and 0 deletions
|
|
@ -113,6 +113,18 @@ public final class ExoplayerEffectPlaybackSeekTest {
|
|||
}
|
||||
super.renderOutputBufferV21(codec, index, presentationTimeUs, releaseTimeNs);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldDropOutputBuffer(
|
||||
long earlyUs, long elapsedRealtimeUs, boolean isLastBuffer) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldDropBuffersToKeyframe(
|
||||
long earlyUs, long elapsedRealtimeUs, boolean isLastBuffer) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
instrumentation.runOnMainSync(
|
||||
|
|
|
|||
Loading…
Reference in a new issue