Skip to content

player_decode crash #7

@ksc91u

Description

@ksc91u

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions