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:39:49 +0300 |
commit | 7a3a7896b3c96bee076ed0da65d10eec7fc06b85 (patch) | |
tree | 8ebae3f11a3be2a4a21e0b23fc020d172ef65228 /kopete/libkopete/avdevice | |
parent | de786a075b31b4988341a625ef85c081530e2a7d (diff) | |
download | tdenetwork-7a3a7896b3c96bee076ed0da65d10eec7fc06b85.tar.gz tdenetwork-7a3a7896b3c96bee076ed0da65d10eec7fc06b85.zip |
Fixed Kopete FTBFS
This commit also adds initial V4L2 support for Motion AutoAway plugin.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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; |