diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-18 14:59:35 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-03-18 14:59:35 +0000 |
commit | 8e633d2059cb835448021cf79becb487aff10975 (patch) | |
tree | 308c6c343391dc5a4b935abdd44f90837f28100a | |
parent | 288e05c99dc5ba6ca04343429e3cc7b1162f3e83 (diff) |
v4l2: fix compilation against newer kernel headers as on FC19
-rw-r--r-- | sys/v4l2/v4l2_calls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 07d390a4a..4c10f4fe6 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) break; case V4L2_CID_HFLIP: case V4L2_CID_VFLIP: +#ifndef V4L2_CID_PAN_RESET case V4L2_CID_HCENTER: +#endif +#ifndef V4L2_CID_TILT_RESET case V4L2_CID_VCENTER: +#endif #ifdef V4L2_CID_PAN_RESET case V4L2_CID_PAN_RESET: #endif |