xserver: Branch 'xgl-0-0-1'

Matthias Hopf mhopf at kemper.freedesktop.org
Fri Sep 8 14:13:54 EEST 2006


 hw/xgl/xglxv.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 2c7ac2d891135d1658ab3b5e5fb0702276776d17 (from c2362efc2a91cc01f9c4a5e7194888f1e243c69c)
Author: Matthias Hopf <mhopf at suse.de>
Date:   Fri Sep 8 13:13:28 2006 +0200

    Fix stride calculation for XVideo (Dmitry Petrov <inferno.com at gmail.com>).

diff --git a/hw/xgl/xglxv.c b/hw/xgl/xglxv.c
index 5633b6d..b9f96f3 100644
--- a/hw/xgl/xglxv.c
+++ b/hw/xgl/xglxv.c
@@ -306,7 +306,7 @@ xglXvPutImage (ClientPtr     client,
     XGL_DRAWABLE_PIXMAP (pDrawable);
     XGL_PIXMAP_PRIV (pPixmap);
 
-    stride = ((srcWidth + 7) & ~7);
+    stride = ((width + 7) & ~7);
 
     switch (pImage->id) {
     case GLITZ_FOURCC_YUY2:



More information about the xorg-commit mailing list