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

Unified Diff: media/video/video_encode_accelerator.cc

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 5 years, 9 months 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.cc
diff --git a/media/video/video_encode_accelerator.cc b/media/video/video_encode_accelerator.cc
index d8a5838036fdd1f483325f1968268781b4cb5a01..3fba64327911585983af31dc99c52f41e62f4dd3 100644
--- a/media/video/video_encode_accelerator.cc
+++ b/media/video/video_encode_accelerator.cc
@@ -8,6 +8,16 @@ namespace media {
VideoEncodeAccelerator::~VideoEncodeAccelerator() {}
+VideoEncodeAccelerator::SupportedProfile::SupportedProfile()
+ : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN),
+ max_resolution(gfx::Size(0, 0)),
xhwang 2015/03/26 16:21:48 nit: not needed, this is handled by the default ct
+ max_framerate_numerator(0),
+ max_framerate_denominator(0) {
+}
+
+VideoEncodeAccelerator::SupportedProfile::~SupportedProfile() {
+}
+
} // namespace media
namespace base {
« media/video/video_decode_accelerator.cc ('K') | « media/video/video_encode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698