Index: media/video/video_encode_accelerator.h |
diff --git a/media/video/video_encode_accelerator.h b/media/video/video_encode_accelerator.h |
index 9551c22a769d58473bfbfa66bfc92d712a3d164b..433a992bd3a3470a86a009a5bf0d6a401715dcb0 100644 |
--- a/media/video/video_encode_accelerator.h |
+++ b/media/video/video_encode_accelerator.h |
@@ -28,6 +28,9 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
gfx::Size max_resolution; |
uint32 max_framerate_numerator; |
uint32 max_framerate_denominator; |
+ bool operator< (const SupportedProfile& other) const { |
+ return profile < other.profile; |
Pawel Osciak
2014/12/28 23:28:03
This is not enough. If encoder A comes first, but
henryhsu
2014/12/29 09:43:27
as discussed, save a list of all profiles if some
|
+ } |
}; |
// Enumeration of potential errors generated by the API. |