| Index: content/common/gpu/media/gpu_video_encode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.cc b/content/common/gpu/media/gpu_video_encode_accelerator.cc
|
| index 8c12967778f1494aa209334982e0bcfd81b14458..099c456ed812d7b0691af0a9e604da8aa8548620 100644
|
| --- a/content/common/gpu/media/gpu_video_encode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_encode_accelerator.cc
|
| @@ -192,7 +192,7 @@ void GpuVideoEncodeAccelerator::CreateEncoder() {
|
| encoder_.reset(new V4L2VideoEncodeAccelerator(device.Pass()));
|
| #elif defined(ARCH_CPU_X86_FAMILY)
|
| const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
|
| - if (cmd_line->HasSwitch(switches::kEnableVaapiAcceleratedVideoEncode))
|
| + if (!cmd_line->HasSwitch(switches::kDisableVaapiAcceleratedVideoEncode))
|
| encoder_.reset(new VaapiVideoEncodeAccelerator(gfx::GetXDisplay()));
|
| #endif
|
| #elif defined(OS_ANDROID) && defined(ENABLE_WEBRTC)
|
|
|