summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/rmd_timer.c')
-rw-r--r--recordmydesktop/src/rmd_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recordmydesktop/src/rmd_timer.c b/recordmydesktop/src/rmd_timer.c
index da26f18..a6c7568 100644
--- a/recordmydesktop/src/rmd_timer.c
+++ b/recordmydesktop/src/rmd_timer.c
@@ -47,11 +47,11 @@ void *rmdTimer(ProgData *pdata){
if(!Paused){
Paused=1;
- fprintf(stderr,"STATE:PAUSED\n");
+ fprintf(stderr,"STATE:PAUSED\n");fflush(stderr);
}
else{
Paused=0;
- fprintf(stderr,"STATE:RECORDING\n");
+ fprintf(stderr,"STATE:RECORDING\n");fflush(stderr);
pthread_mutex_lock(&pause_mutex);
pthread_cond_broadcast(pause_cond);
pthread_mutex_unlock(&pause_mutex);
© All Rights Reserved