1
mirror of https://github.com/mpv-player/mpv synced 2024-10-26 07:22:17 +02:00

add a forgotten shutdown test

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7835 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2002-10-22 07:29:09 +00:00
parent 8a1d698bc2
commit 3ab85b9191

View File

@ -1190,6 +1190,9 @@ static void *video_grabber(void *data)
if (priv->immediate_mode) {
while ((priv->video_tail+1) % priv->video_buffer_size == priv->video_head) {
usleep(10000);
if (priv->shutdown) {
return NULL;
}
}
}