avcodec: vaapi: use profile from AVCodecContext
Like it's done in other part of the GetVaProfile() function. For the current issue, the extra data is set midstream by lavc (and not by our mkv demux). The 4.0 branch does not need this patch since the VAAPI initialisation is done by lavc. Thanks Steve for the hint. Co-authored-by:Steve Lhomme <robux4@ycbcr.xyz> Fixes #27163
Loading
Please register or sign in to comment