summaryrefslogtreecommitdiffstats
path: root/stream/tvi_v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tvi_v4l.c')
-rw-r--r--stream/tvi_v4l.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/tvi_v4l.c b/stream/tvi_v4l.c
index c21e13475e..ee1ae60c07 100644
--- a/stream/tvi_v4l.c
+++ b/stream/tvi_v4l.c
@@ -867,6 +867,8 @@ static void *vbi_grabber(void *data)
while (!priv->vbi_shutdown){
bytes=read(priv->vbi_fd,buf,tsp.bufsize);
+ if(bytes<0 && errno==EINTR)
+ continue;
if (bytes!=tsp.bufsize){
mp_msg(MSGT_TV,MSGL_WARN,"vbi: expecting bytes: %d, got: %d",tsp.bufsize,bytes);
break;