summaryrefslogtreecommitdiff
authorBastien Nocera <hadess@hadess.net>2013-03-18 14:59:35 (GMT)
committer Tim-Philipp Müller <tim@centricular.net>2013-03-18 14:59:35 (GMT)
commit8e633d2059cb835448021cf79becb487aff10975 (patch) (side-by-side diff)
tree308c6c343391dc5a4b935abdd44f90837f28100a
parent288e05c99dc5ba6ca04343429e3cc7b1162f3e83 (diff)
downloadgst-plugins-good-8e633d2059cb835448021cf79becb487aff10975.zip
gst-plugins-good-8e633d2059cb835448021cf79becb487aff10975.tar.gz
v4l2: fix compilation against newer kernel headers as on FC19
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--sys/v4l2/v4l2_calls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index 07d390a..4c10f4f 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