| Index: content/common/gpu/media/dxva_video_decode_accelerator_win.cc
|
| diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.cc b/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
|
| index 2e376f245256c8d70d26e0b36e5a0576284cc446..adb2f9e3f0f0e38b7f3dff65b5b0af6c77f31221 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.cc
|
| @@ -937,6 +937,11 @@ bool DXVAVideoDecodeAccelerator::Initialize(const Config& config,
|
| return false;
|
| }
|
|
|
| + if (config.output_mode != Config::OutputMode::ALLOCATE) {
|
| + NOTREACHED() << "Only ALLOCATE OutputMode is supported by this VDA";
|
| + return false;
|
| + }
|
| +
|
| client_ = client;
|
|
|
| main_thread_task_runner_ = base::MessageLoop::current()->task_runner();
|
|
|