forked from mirror/openmw-tes3mp
Fix videoplayer crash on quit
The sound stream thread was trying to update the stream during/after destruction of the video state.
This commit is contained in:
parent
8472695f89
commit
290aacd2a6
1 changed files with 2 additions and 0 deletions
|
@ -1099,6 +1099,8 @@ void VideoState::deinit()
|
|||
{
|
||||
this->quit = true;
|
||||
|
||||
this->AudioTrack.reset();
|
||||
|
||||
this->audioq.cond.notify_one();
|
||||
this->videoq.cond.notify_one();
|
||||
|
||||
|
|
Loading…
Reference in a new issue