| Index: media/video/video_encode_accelerator.h
|
| diff --git a/media/video/video_encode_accelerator.h b/media/video/video_encode_accelerator.h
|
| index 891204bcae1de04746d10f9dffdddbb20ce608c6..9551c22a769d58473bfbfa66bfc92d712a3d164b 100644
|
| --- a/media/video/video_encode_accelerator.h
|
| +++ b/media/video/video_encode_accelerator.h
|
| @@ -26,10 +26,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator {
|
| struct SupportedProfile {
|
| VideoCodecProfile profile;
|
| gfx::Size max_resolution;
|
| - struct {
|
| - uint32 numerator;
|
| - uint32 denominator;
|
| - } max_framerate;
|
| + uint32 max_framerate_numerator;
|
| + uint32 max_framerate_denominator;
|
| };
|
|
|
| // Enumeration of potential errors generated by the API.
|
| @@ -92,6 +90,10 @@ class MEDIA_EXPORT VideoEncodeAccelerator {
|
|
|
| // Video encoder functions.
|
|
|
| + // Returns a list of the supported codec profiles of the video encoder. This
|
| + // can be called before Initialize().
|
| + virtual std::vector<SupportedProfile> GetSupportedProfiles() = 0;
|
| +
|
| // Initializes the video encoder with specific configuration. Called once per
|
| // encoder construction. This call is synchronous and returns true iff
|
| // initialization is successful.
|
|
|