MediaCodecVideoTrackRenderer.java
23.6 KB
-
Fix MediaCodecUtil regression. · 444d2156
On older devices getCapabilitiesForType calls fail for some secondary codecs. We didn't used to call getCapabilitiesForType on secondary codecs, and so avoided this issue. This change suppresses any exceptions encountered when querying secondary decoders on API levels prior to N, to restore previous behavior when a failure occurs. Issue: #1534 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124010242
olly committed