Fix videoplayer crash on quit

The sound stream thread was trying to update the stream during/after destruction of the video state.
loadfix
scrawl 10 years ago
parent 8472695f89
commit 290aacd2a6

@ -1099,6 +1099,8 @@ void VideoState::deinit()
{ {
this->quit = true; this->quit = true;
this->AudioTrack.reset();
this->audioq.cond.notify_one(); this->audioq.cond.notify_one();
this->videoq.cond.notify_one(); this->videoq.cond.notify_one();

Loading…
Cancel
Save