1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00

dxva2: copy mp_image attributes to sw_img

This commit is contained in:
James Ross-Gowan 2015-01-07 23:00:22 +11:00 committed by Diogo Franco (Kovensky)
parent e2beeffb92
commit 6609f68691

View File

@ -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);