diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-30 11:50:40 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-06-30 18:41:00 +0300 |
commit | a7c8fb0d6c42c021be900c1a43df0e0aada1af50 (patch) | |
tree | 9851dc57a08131162f2d0074255f36a0b1ce4546 /kopete/libkopete/avdevice | |
parent | 88c2dc15e7839673636c0f26b87d7318d7b931f9 (diff) | |
download | tdenetwork-a7c8fb0d6c42c021be900c1a43df0e0aada1af50.tar.gz tdenetwork-a7c8fb0d6c42c021be900c1a43df0e0aada1af50.zip |
Fixed Kopete FTBFS
This commit also adds initial V4L2 support for Motion AutoAway plugin.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 7a3a7896b3c96bee076ed0da65d10eec7fc06b85)
Diffstat (limited to 'kopete/libkopete/avdevice')
-rw-r--r-- | kopete/libkopete/avdevice/videodevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/avdevice/videodevice.h b/kopete/libkopete/avdevice/videodevice.h index a1ace57e..0c3cb473 100644 --- a/kopete/libkopete/avdevice/videodevice.h +++ b/kopete/libkopete/avdevice/videodevice.h @@ -92,7 +92,7 @@ typedef enum { VIDEODEV_DRIVER_NONE #if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) -#if defined(__LINUX_VIDEODEV2_H) /* V4L2 */ +#if defined(V4L2_CAP_VIDEO_CAPTURE) /* V4L2 */ , VIDEODEV_DRIVER_V4L2 #elif defined(__LINUX_VIDEODEV_H) /* V4L */ @@ -289,7 +289,7 @@ public: //protected: #if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) -#if defined(__LINUX_VIDEODEV2_H) /* V4L2 */ +#if defined(V4L2_CAP_VIDEO_CAPTURE) /* V4L2 */ struct v4l2_capability V4L2_capabilities; struct v4l2_cropcap cropcap; struct v4l2_crop crop; |