| 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..be5156d42db3298abafe91e2ac9993caf28f8e81 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.cc
|
| @@ -529,6 +529,15 @@ bool AndroidVideoDecodeAccelerator::CanDecodeOnIOThread() {
|
| return false;
|
| }
|
|
|
| +// static
|
| +media::VideoDecodeAccelerator::SupportedResolution
|
| +AndroidVideoDecodeAccelerator::GetSupportedResolution() {
|
| + media::VideoDecodeAccelerator::SupportedResolution resolution;
|
| + resolution.min.SetSize(16, 16);
|
| + resolution.max.SetSize(1920, 1088);
|
| + return resolution;
|
| +}
|
| +
|
| void AndroidVideoDecodeAccelerator::RequestPictureBuffers() {
|
| client_->ProvidePictureBuffers(kNumPictureBuffers, size_, GL_TEXTURE_2D);
|
| }
|
|
|