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 f3bc4b8eb86bb3634dd80b94e9603713877a8a24..2b0bb848b69fba9b2acf8d68839441932af28917 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -25,7 +25,6 @@ |
#include "content/common/gpu/media/dxva_video_decode_accelerator.h" |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) |
#include "content/common/gpu/media/exynos_video_decode_accelerator.h" |
-#include "content/common/gpu/media/omx_video_decode_accelerator.h" |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
#include "ui/gl/gl_context_glx.h" |
#include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
@@ -176,19 +175,11 @@ void GpuVideoDecodeAccelerator::Initialize( |
video_decode_accelerator_.reset(new DXVAVideoDecodeAccelerator( |
this, make_context_current_)); |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseExynosVda)) { |
- video_decode_accelerator_.reset(new ExynosVideoDecodeAccelerator( |
- gfx::GLSurfaceEGL::GetHardwareDisplay(), |
- stub_->decoder()->GetGLContext()->GetHandle(), |
- this, |
- make_context_current_)); |
- } else { |
- video_decode_accelerator_.reset(new OmxVideoDecodeAccelerator( |
- gfx::GLSurfaceEGL::GetHardwareDisplay(), |
- stub_->decoder()->GetGLContext()->GetHandle(), |
- this, |
- make_context_current_)); |
- } |
+ video_decode_accelerator_.reset(new ExynosVideoDecodeAccelerator( |
+ gfx::GLSurfaceEGL::GetHardwareDisplay(), |
+ stub_->decoder()->GetGLContext()->GetHandle(), |
+ this, |
+ make_context_current_)); |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11) |
gfx::GLContextGLX* glx_context = |
static_cast<gfx::GLContextGLX*>(stub_->decoder()->GetGLContext()); |