[vlc-devel] commit: Xvideo: fix SHM line count for videos with unaligned height ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 27 18:37:02 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 27 19:36:12 2009 +0300| [46de7807d5f263121d5e8eb0fd6ba25c2a4d0d67] | committer: Rémi Denis-Courmont 

Xvideo: fix SHM line count for videos with unaligned height

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

 modules/video_output/xcb/xvideo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 7f752d9..f0fb9f0 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -583,7 +583,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
                               vd->source.i_visible_height,
                    /* Dst: */ 0, 0, p_sys->width, p_sys->height,
                 /* Memory: */ pic->p->i_pitch / pic->p->i_pixel_pitch,
-                              pic->p->i_lines, false);
+                              pic->p->i_visible_lines, false);
     else
         xcb_xv_put_image (p_sys->conn, p_sys->port, p_sys->window,
                           p_sys->gc, p_sys->id,




More information about the vlc-devel mailing list