Chromium Code Reviews| Index: content/common/gpu/media/v4l2_video_encode_accelerator.cc |
| diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.cc b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
| index d69c97da551c8a5dce5b1e78dc9b0b1c75ad0b80..12f88d0329d1835c5d5e5c6ca6c9c12deabd2e66 100644 |
| --- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
| +++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
| @@ -282,6 +282,11 @@ void V4L2VideoEncodeAccelerator::Destroy() { |
| std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
| V4L2VideoEncodeAccelerator::GetSupportedProfiles() { |
| + return GetSupportedProfilesStatic(); |
|
Pawel Osciak
2014/10/13 20:17:48
Are their any users of this? I think we should hav
wuchengli
2014/10/14 02:07:43
There are no uesrs. But this is "not used", not NO
Pawel Osciak
2014/10/14 07:04:19
Right, I was just looking for something that would
|
| +} |
| + |
| +std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
| +V4L2VideoEncodeAccelerator::GetSupportedProfilesStatic() { |
| std::vector<SupportedProfile> profiles; |
| SupportedProfile profile; |