Hello Dirk,
> After removing #include <linux/times.h> from videodev2.h i'm able to
> compile nvrec 20020812-9 but without V4L2 support. Is there a patchfor
> v4l2_core.c so nvrec will compile with the new V4L2-API?
Attached is a patch against "nvrec-20020710" that makes it aware of the
new v4l2 api present in 2.5.x kernels and later.
You will need, however, a recent "videodev2.h" in /usr/include/linux
You can grab my copy from
http://www-c.informatik.uni-hannover.de/~hunold1/videodev2.h
It works for my saa7146 driver, please tell me if it works for bttv, too.
But IMHO this should be handled smarter, like "xawtv" does, ie.
distinguish between the "old" and the "new" v4l2 API and support both.
CU
Michael.