| Index: content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| diff --git a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| index f6824c5ba8ec9b8ef54c66e38c5aacc54ed5b225..e37fe4e4b651c24f7df5fca14d54ae2f283b13a8 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| @@ -329,6 +329,11 @@ bool VTVideoDecodeAccelerator::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;
|
|
|
| if (!InitializeVideoToolbox())
|
|
|