aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp1
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;
}