media/gpu/v4l2: Check request support in queue.
The queue's support is currently checked in the video decoder but the queue should be responsible to check whether it does support requests or not. This patch moves the check for the request support to the V4L2Queue constructor. BUG=chromium:1009921 TEST=ran tast with video.DecodeAccelVDVP8ResolutionSwitch on veyron_minnie-kernelnext. TEST=ran tast with video.DecodeAccelVDH264ResolutionSwitch on veyron_minnie-kernelnext. TEST=ran tast with video.DecodeAccelVDVP8 on veyron_minnie-kernelnext. TEST=ran tast with video.DecodeAccelVDH264 on veyron_minnie-kernelnext. TEST=ran tast with video.DecodeAccelVDVP8ResolutionSwitch on veyron_minnie. TEST=ran tast with video.DecodeAccelVDH264ResolutionSwitch on veyron_minnie. TEST=ran tast with video.DecodeAccelVDVP8 on veyron_minnie. TEST=ran tast with video.DecodeAccelVDH264 on veyron_minnie. Signed-off-by:Francois Buergisser <fbuergisser@chromium.org> Change-Id: Icdceab06d3b263d0ce68993b3ee753bd650706dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1880208 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:
Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#709376}
Showing
Please register or sign in to comment