Chromium Code Reviews| Index: media/gpu/generic_v4l2_device.cc |
| diff --git a/media/gpu/generic_v4l2_device.cc b/media/gpu/generic_v4l2_device.cc |
| index ebdc867b12a5b63f3b4ef6627a82488dc883806a..e707c89df2c4ad742a4d6c5b3c882704d50ea0e1 100644 |
| --- a/media/gpu/generic_v4l2_device.cc |
| +++ b/media/gpu/generic_v4l2_device.cc |
| @@ -48,8 +48,11 @@ const char kImageProcessorDevice[] = "/dev/image-proc0"; |
| const char kJpegDecoderDevice[] = "/dev/jpeg-dec"; |
| } |
| -GenericV4L2Device::GenericV4L2Device(Type type) |
| - : V4L2Device(type), use_libv4l2_(false) {} |
| +GenericV4L2Device::GenericV4L2Device(Type type) : V4L2Device(type) { |
| +#if defined(USE_LIBV4L2) |
| + use_libvl2_ = false; |
|
wuchengli
2016/07/15 13:16:06
s/use_libvl2_/use_libv4l2_/
Dirk Pranke
2016/07/15 19:10:07
Good catch, fixed.
|
| +#endif |
| +} |
| GenericV4L2Device::~GenericV4L2Device() { |
| #if defined(USE_LIBV4L2) |