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

Getting Illegal state exception Any help? #4

Open
ashirmehmood1996 opened this issue Jan 20, 2021 · 0 comments
Open

Getting Illegal state exception Any help? #4

ashirmehmood1996 opened this issue Jan 20, 2021 · 0 comments

Comments

@ashirmehmood1996
Copy link

    --------- beginning of crash
2021-01-21 00:19:57.561 15225-15643/eu.sisik.reversevideo E/AndroidRuntime: FATAL EXCEPTION: IntentService[ConversionService]
    Process: eu.sisik.reversevideo, PID: 15225
    java.lang.IllegalStateException
        at android.media.MediaCodec.native_stop(Native Method)
        at android.media.MediaCodec.stop(MediaCodec.java:2147)
        at eu.sisik.reversevideo.AllToKeyFrameConverter.releaseConverter(AllToKeyFrameConverter.kt:196)
        at eu.sisik.reversevideo.AllToKeyFrameConverter.convert(AllToKeyFrameConverter.kt:50)
        at eu.sisik.reversevideo.VideoProcessingService.onHandleIntent(VideoProcessingService.kt:27)
        at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:224)
        at android.os.HandlerThread.run(HandlerThread.java:67)

I am testing on API 29

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