| Index: content/common/gpu/media/generic_v4l2_device.h
|
| diff --git a/content/common/gpu/media/generic_v4l2_device.h b/content/common/gpu/media/generic_v4l2_device.h
|
| index 94d656c65ce58d46c396985b3a57b9eb20490f93..0f8f7bc065d2426437d2c78c5de7e1ec2e67496b 100644
|
| --- a/content/common/gpu/media/generic_v4l2_device.h
|
| +++ b/content/common/gpu/media/generic_v4l2_device.h
|
| @@ -43,6 +43,10 @@ class GenericV4L2Device : public V4L2Device {
|
|
|
| private:
|
| ~GenericV4L2Device() override;
|
| +
|
| + // Close |device_fd_|;
|
| + void Close();
|
| +
|
| const Type type_;
|
|
|
| // The actual device fd.
|
| @@ -52,6 +56,9 @@ class GenericV4L2Device : public V4L2Device {
|
| // interrupted.
|
| int device_poll_interrupt_fd_;
|
|
|
| + // Use libv4l2 when operating |device_fd_|.
|
| + bool use_libv4l2_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GenericV4L2Device);
|
|
|
| // Lazily initialize static data after sandbox is enabled. Return false on
|
|
|