From a0959582631118078cd39695d023678ff4bfe9f8 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Wed, 7 Jan 2015 23:00:22 +1100 Subject: dxva2: copy mp_image attributes to sw_img --- video/decode/dxva2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') 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); -- cgit v1.2.3