• Ted Meyer's avatar
    Support different D3D11VideoContext levels · 8a11a6d0
    Ted Meyer authored
    Newer hardware supports, and encrypted media requires D3D11VideoContext1
    usage, while older hardware might only have support for
    D3D11VideoContext. We should support both of these seamlessly. There are
    also other levels of video context, and this should make it easy to add
    support should we ever require that.
    
    This should hopefully help mitigate some crashes we are seeing on older hardware.
    
    Bug: 897785
    Change-Id: I46c913ba64036c2bc6ef655026f1cd90d0ab4684
    Reviewed-on: https://chromium-review.googlesource.com/c/1298636
    Commit-Queue: Ted Meyer <tmathmeyer@chromium.org>
    Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#605124}
    8a11a6d0
d3d11_video_decoder.h 8.23 KB