From 16586bbc661ab6edafd819cb4cda0fda87d8be52 Mon Sep 17 00:00:00 2001 From: iovar Date: Sun, 8 Jul 2007 15:37:30 +0000 Subject: update_image.c: removed mutex locking from UpdateImage git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@375 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/update_image.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'recordmydesktop/src/update_image.c') diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c index e365555..4421469 100644 --- a/recordmydesktop/src/update_image.c +++ b/recordmydesktop/src/update_image.c @@ -29,7 +29,6 @@ void UpdateImage(Display * dpy, yuv_buffer *yuv, - pthread_mutex_t *yuv_mutex, DisplaySpecs *specs, RectArea **root, BRWindow *brwin, @@ -64,14 +63,12 @@ void UpdateImage(Display * dpy, temp->geom.width, temp->geom.height); } - pthread_mutex_lock(yuv_mutex); 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), no_quick_subsample, specs->depth); - pthread_mutex_unlock(yuv_mutex); temp=temp->next; }while(temp!=NULL); } -- cgit v1.2.1