Chromium Code Reviews| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc |
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
| index 0d315dae4e88cd427753086637e79888ba9f4c8f..d32628d52cd4ca133b2ad0fd3612f5b10b64ff75 100644 |
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
| @@ -31,7 +31,7 @@ |
| #elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) |
| #include "content/common/gpu/media/v4l2_video_decode_accelerator.h" |
| #include "content/common/gpu/media/v4l2_video_device.h" |
| -#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
| +#elif defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
|
danakj
2014/06/19 15:56:26
unrelated change?
dshwang
2014/06/23 18:33:20
Sorry for bothering you due to unrelated change.
I
|
| #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
| #include "ui/gl/gl_context_glx.h" |
| #include "ui/gl/gl_implementation.h" |
| @@ -272,7 +272,7 @@ void GpuVideoDecodeAccelerator::Initialize( |
| make_context_current_, |
| device.Pass(), |
| io_message_loop_)); |
| -#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
| +#elif defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
| if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) { |
| VLOG(1) << "HW video decode acceleration not available without " |
| "DesktopGL (GLX)."; |