Index: content/common/gpu/media/gpu_video_decode_accelerator.h |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h |
index 33e7837afbb1798c8ff0767643de9014de0e3ae1..a9e40ea3ed00d42584238b4ae5202c59de3254bb 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h |
@@ -14,6 +14,7 @@ |
#include "base/synchronization/waitable_event.h" |
#include "content/common/gpu/gpu_command_buffer_stub.h" |
#include "gpu/command_buffer/service/texture_manager.h" |
+#include "gpu/config/gpu_info.h" |
#include "ipc/ipc_listener.h" |
#include "ipc/ipc_sender.h" |
#include "media/video/video_decode_accelerator.h" |
@@ -66,6 +67,12 @@ class GpuVideoDecodeAccelerator |
void Initialize(const media::VideoCodecProfile profile, |
IPC::Message* init_done_msg); |
+ // Static query for supported profiles. This query calls the appropriate |
+ // platform-specific version. The returned supported profiles vector would |
+ // not have duplicate codec profile. |
+ static std::vector<gpu::VideoDecodeAcceleratorSupportedProfile> |
+ GetSupportedProfiles(); |
+ |
private: |
typedef scoped_ptr<media::VideoDecodeAccelerator>( |
GpuVideoDecodeAccelerator::*CreateVDAFp)(); |