diff --git a/setup.py b/setup.py index 203e209..3ed19a1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='v4l2-python3', - version='0.3.5', + version='0.3.6', license='GPLv2', requires=('ctypes',), py_modules=('v4l2',), diff --git a/v4l2.py b/v4l2.py index a3f5e35..fbe925f 100644 --- a/v4l2.py +++ b/v4l2.py @@ -507,7 +507,7 @@ class v4l2_frmsize_stepwise(ctypes.Structure): ('min_width', ctypes.c_uint32), ('min_height', ctypes.c_uint32), ('step_width', ctypes.c_uint32), - ('min_height', ctypes.c_uint32), + ('max_width', ctypes.c_uint32), ('max_height', ctypes.c_uint32), ('step_height', ctypes.c_uint32), ]