Skip to content

Commit

Permalink
extended_controls is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Feb 29, 2024
1 parent 9498968 commit d4f91b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyuvc-source/uvc_bindings.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ cdef class Capture:
cdef dict _info
cdef public list controls

def __cinit__(self, dev_uid, extended_controls):
def __cinit__(self, dev_uid, extended_controls=None):
self.dev = NULL
self.ctx = NULL
self.devh = NULL
Expand Down

0 comments on commit d4f91b3

Please sign in to comment.