1
mirror of https://github.com/mpv-player/mpv synced 2024-09-28 17:52:52 +02:00

Merge pull request #154 from rossy2401/wasapi-pause

WASAPI stops working after pause
This commit is contained in:
Diogo Franco 2013-08-05 18:22:46 -07:00
commit 57ec67a6cc

View File

@ -1150,7 +1150,8 @@ static DWORD __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? */