71b41d846f
MediaCodec.configure() may throw an IllegalArgumentException if it does not support the requested size. Also retry on this exception. Fixes #2993 <https://github.com/Genymobile/scrcpy/issues/2993> Refs #2947 <https://github.com/Genymobile/scrcpy/pull/2947> Refs #2990 <https://github.com/Genymobile/scrcpy/pull/2990> PR #3043 <https://github.com/Genymobile/scrcpy/pull/3043>