summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/update_image.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-08 04:20:33 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-08 04:20:33 +0000
commit6690076b0c1d40ec0b0990b31092b4a459a71669 (patch)
tree80c4a7c132449ce7113a6d226959b798d0be3a03 /recordmydesktop/src/update_image.c
parent92d58558179beff08d52ac152c3a3da8a1a367cb (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.c2
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),
© All Rights Reserved