diff options
author | Peter Frühberger <Peter.Fruehberger@gmail.com> | 2023-08-29 08:25:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 08:25:43 +0200 |
commit | 6c9991b8615b04c43b80f16e4335881f4fa06a5e (patch) | |
tree | 2a695fc517d0b0e670aea08709071be4e563734d | |
parent | 599b778dd3d38663d186ab434dccc5966374b749 (diff) | |
parent | 10ab623fcf845fdc7c6bfd811ff2b6b4c3837369 (diff) |
Merge pull request #23685 from smp79/vp9-fix-nexus
[Backport] VideoPlayer: VAAPI - fix VP9 Profile 2 playback
-rw-r--r-- | xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp index 7ad891083c..0487b32f50 100644 --- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp +++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp @@ -1159,7 +1159,7 @@ bool CDecoder::ConfigVAAPI() unsigned int format = VA_RT_FORMAT_YUV420; std::int32_t pixelFormat = VA_FOURCC_NV12; - if ((m_vaapiConfig.profile == VAProfileHEVCMain10 + if ((m_vaapiConfig.profile == VAProfileHEVCMain10 || m_vaapiConfig.profile == VAProfileVP9Profile2 #if VA_CHECK_VERSION(1, 8, 0) || m_vaapiConfig.profile == VAProfileAV1Profile0 #endif |