| 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 10b7633d14fccbdff9ebce31e04f65c4c501af5d..57bfb581901080f0cdb6dccb6677ba395f9b14f3 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| @@ -1017,8 +1017,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),
|
| + media::VideoDecodeAccelerator::TEXTURE_TARGET_2D);
|
| }
|
| }
|
|
|
|
|