[vlc-commits] linsys_hdsdi: do not wait for unhandled poll event, fix busy loop

Rémi Denis-Courmont git at videolan.org
Thu Feb 5 21:41:00 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  5 21:44:01 2015 +0200| [60bb747843e84b7ced507fcb0cf73025fb2ee9ed] | committer: Rémi Denis-Courmont

linsys_hdsdi: do not wait for unhandled poll event, fix busy loop

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=60bb747843e84b7ced507fcb0cf73025fb2ee9ed
---

 modules/access/linsys/linsys_hdsdi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/linsys/linsys_hdsdi.c b/modules/access/linsys/linsys_hdsdi.c
index a6989b7..8ca6094 100644
--- a/modules/access/linsys/linsys_hdsdi.c
+++ b/modules/access/linsys/linsys_hdsdi.c
@@ -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 )
         {



More information about the vlc-commits mailing list