• wm4's avatar
    lavc: set avctx->hwaccel before init · bd747b92
    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.
    Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
    bd747b92
decode.c 36.2 KB