Index: content/common/gpu/client/gpu_video_encode_accelerator_host.h |
diff --git a/content/common/gpu/client/gpu_video_encode_accelerator_host.h b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
index 62ae1dadfd5accb845a561dc58388718fbdcae8a..056254137f9ad33cfc8352df337574e1ddb6c448 100644 |
--- a/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_encode_accelerator_host.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/threading/non_thread_safe.h" |
#include "content/common/gpu/client/command_buffer_proxy_impl.h" |
+#include "gpu/config/gpu_info.h" |
#include "ipc/ipc_listener.h" |
#include "media/video/video_encode_accelerator.h" |
@@ -44,6 +45,10 @@ class GpuVideoEncodeAcceleratorHost |
GpuVideoEncodeAcceleratorHost(GpuChannelHost* channel, |
CommandBufferProxyImpl* impl); |
+ static std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
+ ConvertGpuToMediaProfiles(const std::vector< |
+ gpu::VideoEncodeAcceleratorSupportedProfile>& gpu_profiles); |
+ |
// IPC::Listener implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) override; |
virtual void OnChannelError() override; |