java.lang.Float cannot be cast to java.lang.Double
Opened this issue · 1 comments
pavelperc commented
Get this exception on Android 5 emulator:
java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double
at android.media.MediaCodecInfo$VideoCapabilities.supportsFormat(MediaCodecInfo.java:1016)
at android.media.MediaCodecInfo$CodecCapabilities.isFormatSupported(MediaCodecInfo.java:335)
at android.media.MediaCodecList.findCodecForFormat(MediaCodecList.java:218)
at android.media.MediaCodecList.findEncoderForFormat(MediaCodecList.java:207)
at com.homesoft.encoder.FrameBuilder.<init>(FrameBuilder.kt:61)
pavelperc commented