Index: content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc |
diff --git a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc |
index 011d8e8e1b7a93676443208d71ad35a3ff72f552..ffe9d6abd58e8061f8778afdd5f8d4a21815dc32 100644 |
--- a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc |
+++ b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc |
@@ -51,12 +51,13 @@ void VideoCaptureGpuJpegDecoder::Initialize() { |
// Non-ChromeOS platforms do not support HW JPEG decode now. Do not establish |
// gpu channel to introduce overhead. |
-#if !defined(OS_CHROMEOS) |
+ // TODO(henryhsu): enable on ARM platform after V4L2 JDA is ready. |
+#if !defined(OS_CHROMEOS) || !defined(ARCH_CPU_X86_FAMILY) |
init_status_ = INIT_FAILED; |
return; |
#else |
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableAcceleratedMjpegDecode)) { |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableAcceleratedMjpegDecode)) { |
init_status_ = INIT_FAILED; |
return; |
} |