summaryrefslogtreecommitdiff
path: root/rMD-exp/src/encode_image_buffer.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-27 15:19:15 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-27 15:19:15 +0000
commit29d2e46787bee6bc3a951734d40a215088d58692 (patch)
treeee86c41aec5a5d762f06e08149e8086f2d569c6f /rMD-exp/src/encode_image_buffer.c
parent1849f72f524948dddc02e530f7bfaa108a107ef1 (diff)
image cache loading ,almost fuctional
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@123 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'rMD-exp/src/encode_image_buffer.c')
-rw-r--r--rMD-exp/src/encode_image_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rMD-exp/src/encode_image_buffer.c b/rMD-exp/src/encode_image_buffer.c
index 38a1d77..2718d0e 100644
--- a/rMD-exp/src/encode_image_buffer.c
+++ b/rMD-exp/src/encode_image_buffer.c
@@ -30,8 +30,8 @@ void *EncodeImageBuffer(void *pdata){
pthread_mutex_init(&pmut,NULL);
pthread_mutex_init(&imut,NULL);
while(((ProgData *)pdata)->running){
- encoder_busy=1;
pthread_cond_wait(&((ProgData *)pdata)->image_buffer_ready,&imut);
+ encoder_busy=1;
if(Paused)
pthread_cond_wait(&((ProgData *)pdata)->pause_cond,&pmut);//this may not be needed
pthread_mutex_lock(&((ProgData *)pdata)->yuv_mutex);
© All Rights Reserved