- Update to 2.1.0 - Convert lib depends to new format - Allow staging - Remove deprecated PORT_OPTIONS usage
15 lines
499 B
Text
15 lines
499 B
Text
--- modules/access/v4l2/v4l2.h.orig 2013-10-22 10:17:30.534986266 -0200
|
|
+++ modules/access/v4l2/v4l2.h 2013-10-22 10:17:39.613985219 -0200
|
|
@@ -20,6 +20,12 @@
|
|
|
|
#include <linux/videodev2.h>
|
|
|
|
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
|
+#define V4L2_BUF_FLAG_TIMESTAMP_MASK 0xe000
|
|
+#define V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN 0x0000
|
|
+#define V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC 0x2000
|
|
+#endif
|
|
+
|
|
/* libv4l2 functions */
|
|
extern int v4l2_fd_open (int, int);
|
|
extern int (*v4l2_close) (int);
|