mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
[media] v4l2: add v4l2_prio_state to v4l2_device and video_device
Integrate the v4l2_prio_state into the core, ready for use. One struct v4l2_prio_state is added to v4l2_device and a pointer to a prio state is added to video_device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
0226549308
commit
0f62fd6a2f
4 changed files with 13 additions and 0 deletions
|
@ -89,6 +89,9 @@ struct video_device
|
|||
/* Control handler associated with this device node. May be NULL. */
|
||||
struct v4l2_ctrl_handler *ctrl_handler;
|
||||
|
||||
/* Priority state. If NULL, then v4l2_dev->prio will be used. */
|
||||
struct v4l2_prio_state *prio;
|
||||
|
||||
/* device info */
|
||||
char name[32];
|
||||
int vfl_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue