Index: content/common/gpu/media/gpu_video_encode_accelerator.h |
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h |
index e94a2dda8a66a921f63898abe7e2677de597bd15..c9ffe615e43c0e102f7a2d09744fa2a7165712de 100644 |
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h |
@@ -57,13 +57,13 @@ class GpuVideoEncodeAccelerator |
// GpuCommandBufferStub::DestructionObserver implementation. |
void OnWillDestroyStub() override; |
- // Static query for supported profiles. This query calls the appropriate |
- // platform-specific version. |
- static std::vector<gpu::VideoEncodeAcceleratorSupportedProfile> |
- GetSupportedProfiles(); |
- static std::vector<gpu::VideoEncodeAcceleratorSupportedProfile> |
- ConvertMediaToGpuProfiles(const std::vector< |
- media::VideoEncodeAccelerator::SupportedProfile>& media_profiles); |
+ // Static query for supported profiles. This query calls the appropriate |
+ // platform-specific version and stores supported encoder profiles in |
+ // |supported_profiles|. |supported_profiles| would not have duplicate codec |
+ // profile. |
+ static void GetSupportedProfiles( |
+ std::vector<gpu::VideoEncodeAcceleratorSupportedProfile>* |
+ supported_profiles); |
private: |
typedef scoped_ptr<media::VideoEncodeAccelerator>(*CreateVEAFp)(); |