v4l2 on NetBSD
|Reported by:||Thomas Klausner||Owned by:||Thomas Klausner|
NetBSD supports the v4l2 API, but it uses different headers and does not provide all the symbols.
In particular, for xpra, the following changes are needed:
- include sys/videoio.h instead of linux/videodev2.h
- do not expect V4L2_FIELD_INTERLACED_BT nor V4L2_FIELD_INTERLACED_TB
I'll attach a patch for (the generated file) xpra/codecs/v4l2/pusher.c, but I don't know what the corresponding changes to the pyx file look like.