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

Unified Diff: media/video/video_decode_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_decode_accelerator.cc
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
index 21b1d0057e7371be028cd28c0852c62ccbdc12f2..263c612751e26127eff107d792f262f2862cf80c 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -21,6 +21,15 @@ GLenum VideoDecodeAccelerator::GetSurfaceInternalFormat() const {
return GL_RGBA;
}
+VideoDecodeAccelerator::SupportedProfile::SupportedProfile()
+ : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN),
+ max_resolution(gfx::Size(0, 0)),
+ min_resolution(gfx::Size(0, 0)) {
xhwang 2015/03/26 16:21:48 nit: not needed; this is handled by the default ct
+}
+
+VideoDecodeAccelerator::SupportedProfile::~SupportedProfile() {
+}
+
} // namespace media
namespace base {

Powered by Google App Engine
This is Rietveld 408576698