v4l2: Update to the latest request API definition
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
+1
-1
@@ -228,7 +228,7 @@ int v4l2_set_control(int video_fd, int request_fd, unsigned int id, void *data,
|
||||
controls.count = 1;
|
||||
|
||||
if (request_fd >= 0) {
|
||||
controls.which = V4L2_CTRL_WHICH_REQUEST;
|
||||
controls.which = V4L2_CTRL_WHICH_REQUEST_VAL;
|
||||
controls.request_fd = request_fd;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user