Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: media/video/video_encode_accelerator.h

Issue 826663002: Support multiple video decoders and encoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address wucheng's review comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« content/common/gpu/media/gpu_video_encode_accelerator.cc ('K') | « content/content_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698