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

player_decode crash #7

Open
ksc91u opened this issue Dec 29, 2014 · 0 comments
Open

player_decode crash #7

ksc91u opened this issue Dec 29, 2014 · 0 comments

Comments

@ksc91u
Copy link

ksc91u commented Dec 29, 2014

In ffmpeg_mediaplayer.c, stop() won't wait player_decode thread to end.
Sometimes JVM will free resources of player, but the player_decode thread might still be running.

Thus cause JNI crash inside player_decode.

Suggest pthread_join(state->decoder_thread as in reset().

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