commit | f577a9c1773f56c2696336d87989767ae8cb1593 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Wed Apr 28 15:51:20 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 28 15:51:20 2021 |
tree | 6582b8338ce9a20370c842a480f0230b5ad1da5b | |
parent | 7f50c8defb6a9fe6985f5664fc8d76fafaa9db0a [diff] |
media/gpu/v4l2vd: move call to CompleteFlush() When a flush fence is met, the output request queue is expected to be empty as suggested by a DCHECK(). It is thus safe to move the call to CompleteFlush() into the same code block instead of running it just a bit later as we will break the loop. This improves readability (all the flush-related code is in the same place) and will allow us to use resume_decode in non-flush situations. BUG=b:185734149 TEST=tast video.DecodeAccelVD.vp9_show_existing_frame passes on Asurada. Change-Id: Ie07257d72e76f14879013d22e7f1a9edddeef8c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2856123 Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Fritz Koenig <frkoenig@chromium.org> Reviewed-by: Fritz Koenig <frkoenig@chromium.org> Cr-Commit-Position: refs/heads/master@{#877056}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.