On Thu, Jul 30, 2009 at 11:01 AM, Julian Scheel<jul...@jusst.de> wrote:
> I see a very weird problem when reading from an analog capture card with MPEG
> encoder using libevent 1.4 and an EV_READ callback function (persistent mode).
> Actually so far I used the same code for reading from a dvb dvr device, which
> always worked very well. Now with the /dev/video I loose parts of the data, it
> seems as if the dvr_read function is not always called when data comes in. Or
> it's called too late, so that the device driver might have to drop data due to
> buffer underruns.

Try using the poll/select backend instead of epoll/kqueue.  Often
times, device drivers do not support the newer event mechanisms.

Niels.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to