[vlc-devel] commit: Revert "XCB-XVideo: fix shared-memory YUY2" ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Sep 16 17:42:54 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep 15 23:41:15 2009 +0300| [495aedb975d3737e61f7992fc6b9421205a0fee8] | committer: Rémi Denis-Courmont
Revert "XCB-XVideo: fix shared-memory YUY2"
This reverts commit 6142ee1b18814139f92ddaf1a6ada6185ca1fb5b.
Input pixel pitch is incorrect. The bug was somewhere else.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=495aedb975d3737e61f7992fc6b9421205a0fee8
---
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 ac6aa8a..680242c 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -612,7 +612,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
vd->source.i_visible_width,
vd->source.i_visible_height,
/* Dst: */ 0, 0, p_sys->width, p_sys->height,
- /* Memory: */ vd->source.i_width,
+ /* Memory: */ pic->p->i_pitch / pic->p->i_pixel_pitch,
pic->p->i_visible_lines, false);
else
ck = xcb_xv_put_image_checked (p_sys->conn, p_sys->port, p_sys->window,
More information about the vlc-devel
mailing list