Mercurial > mplayer.hg
changeset 7834:830f10ad97ac
add a forgotten shutdown test
author | henry |
---|---|
date | Tue, 22 Oct 2002 07:29:09 +0000 |
parents | 0aebf17f33ed |
children | d489890c59d3 |
files | libmpdemux/tvi_v4l.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l.c Tue Oct 22 01:22:35 2002 +0000 +++ b/libmpdemux/tvi_v4l.c Tue Oct 22 07:29:09 2002 +0000 @@ -1190,6 +1190,9 @@ if (priv->immediate_mode) { while ((priv->video_tail+1) % priv->video_buffer_size == priv->video_head) { usleep(10000); + if (priv->shutdown) { + return NULL; + } } }