Mesa (master): st/xorg: fix src coordinates in the video acceleration paths

Zack Rusin zack at kemper.freedesktop.org
Wed Oct 28 20:47:48 UTC 2009


Module: Mesa
Branch: master
Commit: 24c61c8c2e2747f73b963a7019485eb5105b853c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24c61c8c2e2747f73b963a7019485eb5105b853c

Author: Zack Rusin <zackr at vmware.com>
Date:   Sun Oct 25 19:47:41 2009 -0400

st/xorg: fix src coordinates in the video acceleration paths

---

 src/gallium/state_trackers/xorg/xorg_xv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c
index 2a3a42b..c3d9454 100644
--- a/src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/src/gallium/state_trackers/xorg/xorg_xv.c
@@ -484,7 +484,7 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id,
       w = box_x2 - box_x1;
       h = box_y2 - box_y1;
 
-      draw_yuv(pPriv, x, y, x, y, w, h);
+      draw_yuv(pPriv, src_x, src_y, x, y, w, h);
 
       pbox++;
    }




More information about the mesa-commit mailing list