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:
parent
e2beeffb92
commit
6609f68691
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user