summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:37:30 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:37:30 +0000
commit16586bbc661ab6edafd819cb4cda0fda87d8be52 (patch)
tree451c74281039fc0019799ea204bce7134a213003
parenteb0b674cabffbf88d756bffdbec52be1b6b47a34 (diff)
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
-rw-r--r--recordmydesktop/src/update_image.c3
1 files changed, 0 insertions, 3 deletions
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);
}
© All Rights Reserved