X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Foss.c;h=7ef664d574f09623f171e61aff2543f88ce9f612;hb=6b2334c42bd6189f57bb2413b5143d7625daded5;hp=4d8c746d52033c2a807ae4b883049a23bf118314;hpb=55c960749e8f91763e720ac610d5dd56f90fcde1;p=vlc diff --git a/modules/access/oss.c b/modules/access/oss.c index 4d8c746d52..7ef664d574 100644 --- a/modules/access/oss.c +++ b/modules/access/oss.c @@ -272,7 +272,7 @@ static int Demux( demux_t *p_demux ) } /* Wait for data */ - if( poll( &fd, 1, 500 ) ) /* Timeout after 0.5 seconds since I don't know if pf_demux can be blocking. */ + if( poll( &fd, 1, 10 ) ) /* Timeout after 0.01 seconds. Bigger delays are an issue when used with/as an input-slave since all the inputs run in the same thread. */ { if( fd.revents & (POLLIN|POLLPRI) ) {