Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.Float cannot be cast to java.lang.Double #15

Open
pavelperc opened this issue Feb 21, 2021 · 1 comment
Open

java.lang.Float cannot be cast to java.lang.Double #15

pavelperc opened this issue Feb 21, 2021 · 1 comment

Comments

@pavelperc
Copy link

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
Copy link
Author

pavelperc commented Feb 21, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant