]> git.sesse.net Git - vlc/commitdiff
linsys_hdsdi: do not wait for unhandled poll event, fix busy loop
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Feb 2015 19:44:01 +0000 (21:44 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Feb 2015 19:48:46 +0000 (21:48 +0200)
modules/access/linsys/linsys_hdsdi.c

index a6989b7a90d9b91ee722788b54316ae0894bb602..8ca6094fe377bf07d61056c0a8f6b7637d529d1a 100644 (file)
@@ -673,7 +673,7 @@ static int InitCapture( demux_t *p_demux )
         struct pollfd pfd[1];
 
         pfd[0].fd = p_sys->i_vfd;
-        pfd[0].events = POLLIN | POLLPRI;
+        pfd[0].events = POLLPRI;
 
         if ( poll( pfd, 1, READ_TIMEOUT ) < 0 )
         {