use of com.google.android.exoplayer2.mediacodec.MediaCodecUtil.DecoderQueryException in project ExoPlayer by google.
the class DashTest method shouldSkipAdaptiveTest.
// Internal.
private static boolean shouldSkipAdaptiveTest(String mimeType) throws DecoderQueryException {
MediaCodecInfo decoderInfo = MediaCodecUtil.getDecoderInfo(mimeType, false);
assertNotNull(decoderInfo);
if (decoderInfo.adaptive) {
return false;
}
assertTrue(Util.SDK_INT < 21);
return true;
}
Aggregations