audio/out: fix active waiting during pause again

This was fixed in commit 8432eaefa, and commit 39609fc1 of course broke
it again. This was pretty stupid.
This commit is contained in:
wm4 2014-09-06 16:25:27 +02:00
parent a1d3afb395
commit 94113e632f
1 changed files with 2 additions and 1 deletions

View File

@ -120,8 +120,9 @@ static void reset(struct ao *ao)
ao->driver->reset(ao);
mp_audio_buffer_clear(p->buffer);
p->paused = false;
if (p->still_playing)
wakeup_playthread(ao);
p->still_playing = false;
wakeup_playthread(ao);
pthread_mutex_unlock(&p->lock);
}