Index: content/common/gpu/media/v4l2_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/v4l2_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_video_decode_accelerator.cc |
index fe0343faff95517ec75e8c70a92099798eda939c..5fbb516919a9db1d60606a6384d67490a43ac688 100644 |
--- a/content/common/gpu/media/v4l2_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/v4l2_video_decode_accelerator.cc |
@@ -222,6 +222,11 @@ bool V4L2VideoDecodeAccelerator::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; |
+ } |
+ |
if (get_gl_context_cb_.is_null() || make_context_current_cb_.is_null()) { |
NOTREACHED() << "GL callbacks are required for this VDA"; |
return false; |