summaryrefslogtreecommitdiff
path: root/include/uvcgadget/events.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-09 02:22:54 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-09 02:30:26 +0300
commiteed880da1cf4af845700e1caf68d4d689391d4d3 (patch)
treeaa53329c95672aec72cb08f919b081b658173f67 /include/uvcgadget/events.h
parentadc1190eb4ff4b263b185c732b3a8bcedfc44f19 (diff)
uvc: Handle UVC events internally in uvc.c
The event notifier for the UVC device is registered in uvc_stream_set_event_handler(), which requires exposing the uvc_events_process() event handler to the uvc_stream class. Make the event handler internal by registering it in uvc_events_init(). This requires passing the uvc_stream pointer to the uvc_open() function and storing it internally in the uvc_device object. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/uvcgadget/events.h')
0 files changed, 0 insertions, 0 deletions