servestream icon indicating copy to clipboard operation
servestream copied to clipboard

player_decode crash

Open ksc91u opened this issue 10 years ago • 0 comments

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().

ksc91u avatar Dec 29 '14 07:12 ksc91u