ShadowMediaCodecConfig.java
5.96 KB
-
Added a test-only method to clear the clearDecoderInfosCache. · 421aa9df
The cache, being static, is updated every time a new MimeType is encountered. The static cache needs to be cleared between tests that register codecs through ShadowMediaCodec, or the subsequent tests could possibly pick up a wrong codec. PiperOrigin-RevId: 351576018
claincly committed