mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 10:21:09 +00:00
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
@ -1099,6 +1099,8 @@ void VideoState::deinit()
|
||||
{
|
||||
this->quit = true;
|
||||
|
||||
this->AudioTrack.reset();
|
||||
|
||||
this->audioq.cond.notify_one();
|
||||
this->videoq.cond.notify_one();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user