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

This commit is contained in:
Zack Rusin 2009-10-25 19:47:41 -04:00
parent 660acd60d0
commit 24c61c8c2e

View file

@ -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++;
}