diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2015-01-07 23:00:22 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2015-01-07 23:00:22 +1100 |
commit | a0959582631118078cd39695d023678ff4bfe9f8 (patch) | |
tree | 39b596daaf90a0b4d560bdc469874b8dcc9e6338 /video/decode | |
parent | 9a3ab5c2986461398edc28e4069d9e70cd0b6482 (diff) | |
download | mpv-a0959582631118078cd39695d023678ff4bfe9f8.tar.bz2 mpv-a0959582631118078cd39695d023678ff4bfe9f8.tar.xz |
dxva2: copy mp_image attributes to sw_img
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/dxva2.c | 1 |
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); |