[media] v4l2-ioctl: add ctrl_handler to v4l2_fh
This is required to implement control events and is also needed to allow for per-filehandle control handlers. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
7ebbc39fa0
commit
2d28b686ad
@@ -30,11 +30,13 @@
|
||||
|
||||
struct video_device;
|
||||
struct v4l2_events;
|
||||
struct v4l2_ctrl_handler;
|
||||
|
||||
struct v4l2_fh {
|
||||
struct list_head list;
|
||||
struct video_device *vdev;
|
||||
struct v4l2_events *events; /* events, pending and subscribed */
|
||||
struct v4l2_ctrl_handler *ctrl_handler;
|
||||
enum v4l2_priority prio;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user