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 e37fe4e4b651c24f7df5fca14d54ae2f283b13a8..11b877d8c857be9f1b647959f7eeb8c7cb666c3b 100644 |
--- a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc |
+++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc |
@@ -334,6 +334,11 @@ bool VTVideoDecodeAccelerator::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_ = client; |
if (!InitializeVideoToolbox()) |