| Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| index bcd89d1c28b6289034779db05f4c8efcb857b9df..7c412481d368821731327efea4a1662b83ceb1cf 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| @@ -335,6 +335,11 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config,
|
| return false;
|
| }
|
|
|
| + if (config.flush_mode != Config::FlushMode::KEEP_OUTPUT_BUFFERS) {
|
| + NOTIMPLEMENTED() << "Modes other than KEEP_OUTPUT_BUFFERS not implemented";
|
| + return false;
|
| + }
|
| +
|
| client_ptr_factory_.reset(new base::WeakPtrFactory<Client>(client));
|
| client_ = client_ptr_factory_->GetWeakPtr();
|
|
|
|
|