Commit 60bb7478 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent 2e675e52
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment