Index: content/common/gpu/media/generic_v4l2_device.cc |
diff --git a/content/common/gpu/media/generic_v4l2_device.cc b/content/common/gpu/media/generic_v4l2_device.cc |
index 578ee0d8894766d296571b3a62b3ebc3b8ca596f..a0f329af4b95020602ace35fe2fc1a395f6c5b9f 100644 |
--- a/content/common/gpu/media/generic_v4l2_device.cc |
+++ b/content/common/gpu/media/generic_v4l2_device.cc |
@@ -37,6 +37,7 @@ namespace { |
const char kDecoderDevice[] = "/dev/video-dec"; |
const char kEncoderDevice[] = "/dev/video-enc"; |
const char kImageProcessorDevice[] = "/dev/image-proc0"; |
+const char kJpegDecoderDevice[] = "/dev/jpeg-dec"; |
} |
GenericV4L2Device::GenericV4L2Device(Type type) |
@@ -143,6 +144,9 @@ bool GenericV4L2Device::Initialize() { |
case kImageProcessor: |
device_path = kImageProcessorDevice; |
break; |
+ case kJpegDecoder: |
+ device_path = kJpegDecoderDevice; |
+ break; |
} |
DVLOG(2) << "Initialize(): opening device: " << device_path; |