summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/update_image.c
diff options
context:
space:
mode:
authorbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-18 12:27:20 +0000
committerbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-18 12:27:20 +0000
commitf8ac24a454658f39b89fd8b24ee39c28d5e99c23 (patch)
tree387eff3e386fdb480d1c0a80e15a90e2d83d5b9c /recordmydesktop/src/update_image.c
parent1ca1ca0f59a350cd22e6989ac717e6f408dad5f6 (diff)
window alignment 8pixels,32 bytes. Fixed messed up end-result.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@24 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/update_image.c')
-rw-r--r--recordmydesktop/src/update_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c
index 0de3f0a..fed9445 100644
--- a/recordmydesktop/src/update_image.c
+++ b/recordmydesktop/src/update_image.c
@@ -68,12 +68,12 @@ void UpdateImage(Display * dpy,
}
else{
if(no_quick_subsample){
- UPDATE_YUV_BUFFER_SH_AVG(yuv,dtap,
+ UPDATE_YUV_BUFFER_SH_AVG(yuv,dtap,
(temp->geom.x-brwin->rgeom.x+enc->x_offset),(temp->geom.y-brwin->rgeom.y+enc->y_offset),
(temp->geom.width),(temp->geom.height));
}
else{
- UPDATE_YUV_BUFFER_SH(yuv,dtap,
+ UPDATE_YUV_BUFFER_SH(yuv,dtap,
(temp->geom.x-brwin->rgeom.x+enc->x_offset),(temp->geom.y-brwin->rgeom.y+enc->y_offset),
(temp->geom.width),(temp->geom.height));
}
© All Rights Reserved