1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

ao_wasapi: don't check the audio feed while paused

This commit is contained in:
James Ross-Gowan 2013-07-27 14:28:42 +10:00
parent fac2d9097e
commit 8e1461b9f8

View File

@ -1150,7 +1150,8 @@ static unsigned int __stdcall ThreadLoop(void *lpParameter)
thread_play(state);
break;
case (WAIT_OBJECT_0 + 6): /* feed */
feedwatch = 1;
if (state->is_playing)
feedwatch = 1;
thread_feed(state, 0);
break;
case WAIT_TIMEOUT: /* Did our feed die? */