| 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 0cf00a2712d2a99a907a27097eb5bd95b2b65c9f..96a6f62bc463864540801e690bf8375f29d4e606 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/gsc0";
|
| +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;
|
|
|