| Index: content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| diff --git a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| index 9c246823d4a9882e4dca381b3f23b3820fa604e6..9a02cd1df6913ebc9ae371bf357d35fff4853c6b 100644
|
| --- a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| +++ b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| @@ -12,6 +12,7 @@
|
| #include "content/common/gpu/client/context_provider_command_buffer.h"
|
| #include "content/common/gpu/client/gl_helper.h"
|
| #include "content/common/gpu/client/gpu_channel_host.h"
|
| +#include "content/common/gpu/client/gpu_video_decode_accelerator_host.h"
|
| #include "content/common/gpu/client/gpu_video_encode_accelerator_host.h"
|
| #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
|
| #include "content/renderer/render_thread_impl.h"
|
| @@ -250,6 +251,14 @@ RendererGpuVideoAcceleratorFactories::GetTaskRunner() {
|
| return task_runner_;
|
| }
|
|
|
| +std::vector<media::VideoDecodeAccelerator::SupportedProfile>
|
| +RendererGpuVideoAcceleratorFactories::
|
| + GetVideoDecodeAcceleratorSupportedProfiles() {
|
| + return GpuVideoDecodeAcceleratorHost::ConvertGpuToMediaProfiles(
|
| + gpu_channel_host_->gpu_info()
|
| + .video_decode_accelerator_supported_profiles);
|
| +}
|
| +
|
| std::vector<media::VideoEncodeAccelerator::SupportedProfile>
|
| RendererGpuVideoAcceleratorFactories::
|
| GetVideoEncodeAcceleratorSupportedProfiles() {
|
|
|