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 28f5f66e11040ab25c985f6899d657c12aac2546..207702b92438e062a72dba0e7fb87382f7608643 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
@@ -1014,8 +1014,10 @@ void DXVAVideoDecodeAccelerator::RequestPictureBuffers(int width, int height) { |
// TODO(ananta) |
// We need to support mid stream resize. |
if (state_ != kUninitialized && client_) { |
- client_->ProvidePictureBuffers(kNumPictureBuffers, |
- gfx::Size(width, height)); |
+ client_->ProvidePictureBuffers( |
+ kNumPictureBuffers, |
+ gfx::Size(width, height), |
+ GL_TEXTURE_2D); |
} |
} |