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 f21e0f7816ee25743d268c1ceaeaeb612e52faca..4aa1c591635444d168802c802fd51aab9ed99075 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.cc |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.cc |
@@ -715,6 +715,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(); |