mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04: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