blob: 8d362c6ac3c45354242a43eb1d4e387f8c05da3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- media/capture/video/linux/v4l2_capture_delegate.h.orig 2022-05-11 07:16:53 UTC
+++ media/capture/video/linux/v4l2_capture_delegate.h
@@ -84,10 +84,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final {
// device file descriptor or (re)starting streaming, can fail but works after
// retrying (https://crbug.com/670262). Returns false if the |request| ioctl
// fails too many times.
- bool RunIoctl(int request, void* argp);
+ bool RunIoctl(unsigned int request, void* argp);
// Simple wrapper to do HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), ...)).
- int DoIoctl(int request, void* argp);
+ int DoIoctl(unsigned int request, void* argp);
// Creates a mojom::RangePtr with the (min, max, current, step) values of the
// control associated with |control_id|. Returns an empty Range otherwise.
|