• Oliver Collyer's avatar
    hw:vaapi:fixed broken HEVC decoding · 7d95dac7
    Oliver Collyer authored
    Since around middle of July the GetVAProfile function has been failing for the
    HEVC codec because cxt->profile contains '-99' meaning unknown. At least, this
    is the case for mpeg-ts anyway. I haven't tried any others.
    
    If we instead pass in fmt and use fmt->i_profile it fixes this and HEVC
    decoding works again.
    
    I don't know what has caused this, but I can see that dxva2 references
    fmt->i_profile when checking the profile, and not ctx->profile so this patch
    brings vaapi into line with that.
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    7d95dac7
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...