[vlc-devel] [PATCH 1/2] d3d11_deinterlace: copy the whole texture
Steve Lhomme
robux4 at videolabs.io
Mon Dec 18 09:57:01 CET 2017
Not just the visible area or the output may contain green rather than the black
coming out of the decoder.
Fixes #19298
---
modules/hw/d3d11/d3d11_deinterlace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c
index b380a61247..a8ababba61 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -202,9 +202,9 @@ static int RenderPic( filter_t *p_filter, picture_t *p_outpic, picture_t *p_pic,
D3D11_BOX box = {
.top = 0,
- .bottom = p_outpic->format.i_visible_height,
+ .bottom = p_outpic->format.i_height,
.left = 0,
- .right = p_outpic->format.i_visible_width,
+ .right = p_outpic->format.i_width,
.back = 1,
};
--
2.14.2
More information about the vlc-devel
mailing list