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.DecodeAccelVD.vp8_resolution_switch on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.vp8 on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.h264 on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.vp8_resolution_switch on kevin. TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on kevin. TEST=ran tast with video.DecodeAccelVD.vp8 on kevin. TEST=ran tast with video.DecodeAccelVD.h264 on kevin. TEST=ran video_decode_accelerator_tests w/ vp8 & h264 videos but w/o VD on kevin. Signed-off-by:Francois Buergisser <fbuergisser@chromium.org> Change-Id: I8c7559f2e84e0ed0690ba439e121e8b07154ed45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950048Reviewed-by:
Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#730059}
Showing
Please register or sign in to comment