v4l2: Update to the latest request API definition

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
Paul Kocialkowski
2018-05-19 15:57:11 +02:00
parent 00c190c740
commit 5bedd8d898
+1 -1
View File
@@ -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;
}