Mailing List archive

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

[linux-dvb] Re: EOVERFLOW with section filter




Well, the machine is nearly idle, so the program shouldn't be the
cause, but there seem to be bursts of data.

Maybe you read()ing less than the maximum section size (8k if i remember correctly). A bigger section (that your buffer) will be kept in the buffer, since you can only read complete sections. The buffer will overflow then.

always read 8k, read() will return always with at most(!) one section. You can determine the length a.) using the return value of read() or b.) using the length-fields of the section. (byte 1, 2)

felix



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index