| Index: content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| index 5574fa7b429a8477796b4dd01242326abe272434..6018016f748e89690e2fc2d04be5669f78dbf32b 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| @@ -298,6 +298,7 @@ DXVAVideoDecodeAccelerator::DXVAPictureBuffer::Create(
|
| "Failed to query ANGLE surface pointer",
|
| linked_ptr<DXVAPictureBuffer>(NULL));
|
|
|
| + // FIXME: after moving to D3D11, use RGBA surface. crbug.com/438691
|
| HRESULT hr = decoder.device_->CreateTexture(
|
| buffer.size().width(),
|
| buffer.size().height(),
|
| @@ -723,6 +724,10 @@ bool DXVAVideoDecodeAccelerator::CanDecodeOnIOThread() {
|
| return false;
|
| }
|
|
|
| +GLenum DXVAVideoDecodeAccelerator::GetSurfaceInternalFormat() const {
|
| + return GL_BGRA_EXT;
|
| +}
|
| +
|
| bool DXVAVideoDecodeAccelerator::InitDecoder(media::VideoCodecProfile profile) {
|
| HMODULE decoder_dll = NULL;
|
|
|
|
|