SIGN IN SIGN UP

Interrupt MediaCodec blocking call on reset

When the MediaCodec input is a Surface, no EOS (end-of-stream) will
never occur automatically: it may only be triggered manually by
MediaCodec.signalEndOfInputStream().

Use this signal to interrupt the blocking call to dequeueOutputBuffer()
immediately on reset, without waiting for the next frame to be dequeued.

PR #5432 <https://github.com/Genymobile/scrcpy/pull/5432>
R
Romain Vimont committed
9958302e6f8780c7aa547186c70b493137986701
Parent: 69b8369