Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player: fix random crashes on uninitialization
On uninitialization, the player will unselect all subtitles, and then destroy the subtitle decoder. But it didn't correctly remove the subtitle decoder from the OSD state, so it could happen that it would access it after the decoder was destroyed. Could lead to random crashes when switching files often. Fixes #1389.
- Loading branch information