aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
index dd8f964eef..5530111dda 100644
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
@@ -589,9 +589,10 @@ bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum A
}
case AV_CODEC_ID_VP9:
{
- // VAAPI currently only supports Profile 0
if (avctx->profile == FF_PROFILE_VP9_0)
profile = VAProfileVP9Profile0;
+ else if (avctx->profile == FF_PROFILE_VP9_2)
+ profile = VAProfileVP9Profile2;
else
profile = VAProfileNone;
if (!m_vaapiConfig.context->SupportsProfile(profile))