v4l2: fix compilation against newer kernel headers as on FC19

This commit is contained in:
Bastien Nocera 2013-03-18 14:59:35 +00:00 committed by Tim-Philipp Müller
parent 288e05c99d
commit 8e633d2059

View file

@ -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