v4l2: Only conditionally use V4L2_CTRL_TYPE_INTEGER_MENU, it's not available in older versions

This commit is contained in:
Sebastian Dröge 2013-05-29 20:35:41 +02:00
parent 0fb59275b0
commit 82e7826af0

View file

@ -274,7 +274,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
case V4L2_CTRL_TYPE_INTEGER:
case V4L2_CTRL_TYPE_BOOLEAN:
case V4L2_CTRL_TYPE_MENU:
#ifdef V4L2_CTRL_TYPE_INTEGER_MENU
case V4L2_CTRL_TYPE_INTEGER_MENU:
#endif
case V4L2_CTRL_TYPE_BITMASK:
case V4L2_CTRL_TYPE_BUTTON:{
int i;