media/gpu/v4l2: add rudimentary V4L2Queue::SetFormat() method
Having information about the format currently set on a queue is valuable, e.g. to validate queued buffers. Rewrite the output queue format setting method of V4L2SliceVideoDecoder into an equivalent method of V4L2Queue, and use it from there. Bug: 1003223 Test: video_decode_accelerator_tests passing on Kevin. Change-Id: Iaaf56809a46a0c193bf890c73b4bcfac4988374f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1839319 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#703198}
Showing
Please register or sign in to comment