| 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 e2f73c0860ffb6e1b1032636340ab61752010b16..621af9b8f8d7fbd9793c6489df0b9d0af4f173c9 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| @@ -326,6 +326,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())
|
|
|