Enables VP8 decoding - the decoder places the the bitstream version
in the profile field, which we want to ignore.
int profile_match = 0;
if (avctx->codec_id != vaapi_profile_map[i].codec_id)
continue;
- if (avctx->profile == vaapi_profile_map[i].codec_profile)
+ if (avctx->profile == vaapi_profile_map[i].codec_profile ||
+ vaapi_profile_map[i].codec_profile == FF_PROFILE_UNKNOWN)
profile_match = 1;
for (j = 0; j < profile_count; j++) {
if (vaapi_profile_map[i].va_profile == profile_list[j]) {