diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-08 04:20:33 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-08 04:20:33 +0000 |
commit | 6690076b0c1d40ec0b0990b31092b4a459a71669 (patch) | |
tree | 80c4a7c132449ce7113a6d226959b798d0be3a03 /recordmydesktop/src/update_image.c | |
parent | 92d58558179beff08d52ac152c3a3da8a1a367cb (diff) |
added double buffering when capturing in full-shots.
This way, only pixels that have changed are converted to yuv
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@333 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/update_image.c')
-rw-r--r-- | recordmydesktop/src/update_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c index 7a2895f..e365555 100644 --- a/recordmydesktop/src/update_image.c +++ b/recordmydesktop/src/update_image.c @@ -65,7 +65,7 @@ void UpdateImage(Display * dpy, temp->geom.height); } pthread_mutex_lock(yuv_mutex); - UPDATE_YUV_BUFFER(yuv,dtap, + UPDATE_YUV_BUFFER(yuv,dtap,NULL, (temp->geom.x-brwin->rgeom.x+enc->x_offset), (temp->geom.y-brwin->rgeom.y+enc->y_offset), (temp->geom.width),(temp->geom.height), |