| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| index 4ab02c0219ab0307e76734ec46a173705c9f5d4c..12a806de3b4c4a0b7129919ba231afea89823599 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -289,7 +289,8 @@ GpuVideoDecodeAccelerator::CreateDXVAVDA() {
|
| #if defined(OS_WIN)
|
| if (base::win::GetVersion() >= base::win::VERSION_WIN7) {
|
| DVLOG(0) << "Initializing DXVA HW decoder for windows.";
|
| - decoder.reset(new DXVAVideoDecodeAccelerator(make_context_current_));
|
| + decoder.reset(new DXVAVideoDecodeAccelerator(make_context_current_,
|
| + stub_->decoder()->GetGLContext()));
|
| } else {
|
| NOTIMPLEMENTED() << "HW video decode acceleration not available.";
|
| }
|
|
|