media/gpu/v4l2: add and use V4L2Device::DequeueEvent()
Add a method to try and dequeue and event from a V4L2 device, so clients don't need to call the ioctl directly. BUG=b:149663704 TEST=vdatest passing on Hana. Change-Id: Ib6a30f3003dde603b5dee2e9c2a7c26ea02ba260 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131432Reviewed-by:Chih-Yu Huang <akahuang@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#756627}
Showing
Please register or sign in to comment