Enables VP8 decoding - the decoder places the the bitstream version
in the profile field, which we want to ignore.
... | ... |
@@ -324,7 +324,8 @@ static int vaapi_decode_make_config(AVCodecContext *avctx, |
324 | 324 |
int profile_match = 0; |
325 | 325 |
if (avctx->codec_id != vaapi_profile_map[i].codec_id) |
326 | 326 |
continue; |
327 |
- if (avctx->profile == vaapi_profile_map[i].codec_profile) |
|
327 |
+ if (avctx->profile == vaapi_profile_map[i].codec_profile || |
|
328 |
+ vaapi_profile_map[i].codec_profile == FF_PROFILE_UNKNOWN) |
|
328 | 329 |
profile_match = 1; |
329 | 330 |
for (j = 0; j < profile_count; j++) { |
330 | 331 |
if (vaapi_profile_map[i].va_profile == profile_list[j]) { |