| 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 119ba68b5547bf8b65340f680011a7f7bab7dda6..8a375973fbcdd4af1be73827c807da47e315de57 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -32,6 +32,8 @@
|
| #elif defined(OS_MACOSX)
|
| #include "gpu/command_buffer/service/texture_manager.h"
|
| #include "content/common/gpu/media/mac_video_decode_accelerator.h"
|
| +#elif defined(OS_ANDROID)
|
| +#include "content/common/gpu/media/android_video_decode_accelerator.h"
|
| #endif
|
|
|
| #include "gpu/command_buffer/service/texture_manager.h"
|
| @@ -205,6 +207,10 @@ void GpuVideoDecodeAccelerator::Initialize(
|
| static_cast<CGLContextObj>(
|
| stub_->decoder()->GetGLContext()->GetHandle()),
|
| this));
|
| +#elif defined(OS_ANDROID)
|
| + video_decode_accelerator_.reset(new AndroidVideoDecodeAccelerator(
|
| + this,
|
| + make_context_current_));
|
| #else
|
| NOTIMPLEMENTED() << "HW video decode acceleration not available.";
|
| NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE);
|
|
|