[vlc-commits] d3d11_deinterlace: copy the whole texture

Steve Lhomme git at videolan.org
Mon Dec 18 10:39:26 CET 2017


vlc/vlc-3.0 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Dec 18 09:57:01 2017 +0100| [eeb59f7485d9170a4b07d7eb78c0215dd144d8ae] | committer: Jean-Baptiste Kempf

d3d11_deinterlace: copy the whole texture

Not just the visible area or the output may contain green rather than the black
coming out of the decoder.

Fixes #19298

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit ae588e5908c8f95af0fb17aa4dee16b199bd447c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=eeb59f7485d9170a4b07d7eb78c0215dd144d8ae
---

 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,
     };
 



More information about the vlc-commits mailing list