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:
scrawl 2014-10-19 23:53:39 +02:00
parent 8472695f89
commit 290aacd2a6

View file

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