Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] Re: select syscall on kfir /dev/video0



Bram Stolk wrote:
> 
> A select() on a kfir file handle does not seem to work.
> Even though there is no data, select() is not triggered.

Surely you mean "Even though there _is_ data..."  If there is no data,
select() should block.

> Is this because the poll system call is not implemented in kfir.c ?

Yes.

> I need a proper select() mechanism for reading 2 kfir streams
> synchroneously.

Use threads or fork().
-- 
= Video articles: http://tangentsoft.net/video/
= 
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m



Home | Main Index | Thread Index