mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
v4l2: Only conditionally use V4L2_CTRL_TYPE_INTEGER_MENU, it's not available in older versions
This commit is contained in:
parent
0fb59275b0
commit
82e7826af0
1 changed files with 2 additions and 0 deletions
|
@ -274,7 +274,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
|
||||||
case V4L2_CTRL_TYPE_INTEGER:
|
case V4L2_CTRL_TYPE_INTEGER:
|
||||||
case V4L2_CTRL_TYPE_BOOLEAN:
|
case V4L2_CTRL_TYPE_BOOLEAN:
|
||||||
case V4L2_CTRL_TYPE_MENU:
|
case V4L2_CTRL_TYPE_MENU:
|
||||||
|
#ifdef V4L2_CTRL_TYPE_INTEGER_MENU
|
||||||
case V4L2_CTRL_TYPE_INTEGER_MENU:
|
case V4L2_CTRL_TYPE_INTEGER_MENU:
|
||||||
|
#endif
|
||||||
case V4L2_CTRL_TYPE_BITMASK:
|
case V4L2_CTRL_TYPE_BITMASK:
|
||||||
case V4L2_CTRL_TYPE_BUTTON:{
|
case V4L2_CTRL_TYPE_BUTTON:{
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue