• Francois Buergisser's avatar
    media/gpu/v4l2: Check request support in queue. · ac6f2444
    Francois Buergisser authored
    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: default avatarFrancois 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: default avatarAlexandre Courbot <acourbot@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#709376}
    ac6f2444
v4l2_video_decoder_backend_stateless.cc 19.2 KB