diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2022-12-18 10:40:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-18 10:40:04 +1000 |
commit | cfaeb7e769291f23133aaaceaf633b68aa6b76fc (patch) | |
tree | ee51f90db06a3248f619fb632b1d76d80e774091 | |
parent | 1b560c525e736c75de725baa59fafae781dcf90a (diff) | |
parent | 66fbeda02aefca71de02ac4ddabf58049be6b4c0 (diff) |
Merge pull request #22264 from popcornmix/egl_modifiers
DRMPRIMEEGL: Also map the plane modifiers
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp index dfc34dd6be..ee540c9d2c 100644 --- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp +++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp @@ -82,6 +82,7 @@ bool CDRMPRIMETexture::Map(CVideoBufferDRMPRIME* buffer) for (int i = 0; i < layer->nb_planes; i++) { planes[i].fd = descriptor->objects[layer->planes[i].object_index].fd; + planes[i].modifier = descriptor->objects[layer->planes[i].object_index].format_modifier; planes[i].offset = layer->planes[i].offset; planes[i].pitch = layer->planes[i].pitch; } |