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..f5307cad5033c1217386703b26dc225cc48626ce 100644 |
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h |
@@ -57,13 +57,12 @@ 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|. |
wuchengli
2015/03/19 06:19:25
Explain |supported_profiles| won't have duplicate
henryhsu
2015/03/19 10:00:32
Done.
|
+ static void GetSupportedProfiles( |
+ std::vector<gpu::VideoEncodeAcceleratorSupportedProfile>* |
+ supported_profiles); |
private: |
typedef scoped_ptr<media::VideoEncodeAccelerator>(*CreateVEAFp)(); |