• wm4's avatar
    lavc: set avctx->hwaccel before init · 865360ba
    wm4 authored
    So a hwaccel can access avctx->hwaccel in init for whatever reason. This
    is for the new d3d hwaccel API. We could create separate entrypoints for
    each of the 3 hwaccel types (dxva2, d3d11va, new d3d11va), but this
    seems nicer.
    
    Merges Libav commit bd747b92.
    Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
    865360ba
decode.c 59.4 KB