summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode')
-rw-r--r--video/decode/dxva2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/dxva2.c b/video/decode/dxva2.c
index 0cd5735d2d..405ad293b4 100644
--- a/video/decode/dxva2.c
+++ b/video/decode/dxva2.c
@@ -321,6 +321,7 @@ static struct mp_image *dxva2_retrieve_image(struct lavc_ctx *s,
}
ctx->copy_nv12(sw_img, LockedRect.pBits, LockedRect.Pitch, surfaceDesc.Height);
+ mp_image_copy_attributes(sw_img, img);
IDirect3DSurface9_UnlockRect(surface);