Index: content/common/gpu/media/android_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc |
index 8fbdeb147c987510e6b48a7b7844cab15b78cd82..5c20a4e32f06ead1a5c66079a123382b906d8d7a 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -82,6 +82,15 @@ AndroidVideoDecodeAccelerator::~AndroidVideoDecodeAccelerator() { |
DCHECK(thread_checker_.CalledOnValidThread()); |
} |
+// static |
+media::VideoDecodeAccelerator::SupportedResolution |
+AndroidVideoDecodeAccelerator::GetSupportedResolution() { |
+ media::VideoDecodeAccelerator::SupportedResolution resolution; |
+ resolution.min.SetSize(16, 16); |
+ resolution.max.SetSize(1920, 1088); |
wuchengli
2014/12/26 09:37:07
Better to ask someone from chrome media team or An
henryhsu
2014/12/26 10:25:18
Add qinmin@chromium.org as reviewer
|
+ return resolution; |
+} |
+ |
bool AndroidVideoDecodeAccelerator::Initialize(media::VideoCodecProfile profile, |
Client* client) { |
DCHECK(!media_codec_); |