1
0
Fork 0
This repository has been archived on 2022-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
odoo-pos-distribution/iotbox/patches/python-v4l2-1664158-fix.patch

23 lines
516 B
Diff

=== modified file 'v4l2.py'
--- v4l2.py 2010-07-22 01:07:58 +0000
+++ v4l2.py 2018-03-03 01:59:16 +0000
@@ -194,7 +194,7 @@
V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,
V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY,
V4L2_BUF_TYPE_PRIVATE,
-) = range(1, 9) + [0x80]
+) = list(range(1, 9)) + [0x80]
v4l2_ctrl_type = enum
@@ -245,7 +245,7 @@
V4L2_PRIORITY_INTERACTIVE,
V4L2_PRIORITY_RECORD,
V4L2_PRIORITY_DEFAULT,
-) = range(0, 4) + [2]
+) = list(range(0, 4)) + [2]
class v4l2_rect(ctypes.Structure):