SIGN IN SIGN UP

Retry on spurious error

MediaCodec may fail spuriously, typically when stopping an encoding and
starting a new one immediately (for example on device rotation).

In that case, retry a few times, in many cases it should work.

Refs #3693 <https://github.com/Genymobile/scrcpy/issues/3693>
R
Romain Vimont committed
07806ba9159b1f4dbd2ede77b110e254af1fd7f6
Parent: a520534