On Sunday 04 February 2007 16:24, Matthias Urlichs wrote:
> Hi,
>
> Michel Verbraak:
> > Currently my program just reads zero bytes before doing the poll
> > and this works. And it will also work on a normal file.
>
> That's a reasonable workaround.
>
> However, I would suggest that poll(...,POLLIN) signals the intent to
> read from that device sufficiently clearly: starting the capture is
> the Right Thing to do here, IMHO.

I agree with you here, but I wait for some more definite answer from the 
v4l mailinglist. Might take a few days, the v4l maintainer is abroad at 
the moment.

        Hans

>
> > unchanged to the client. If a second or third, etc.., client
> > connects the read data is copied unchanged to all the clients. When
> > the last client disconnects it closes the device/file/socket.
>
> Cool. Does your program understand MPEG framing? If I was the client,
> I'd hate to get some random MPEG tail fragment when I connect to your
> server. :-/

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to