summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/encode_cache.c2
-rw-r--r--recordmydesktop/src/rmd_timer.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/recordmydesktop/src/encode_cache.c b/recordmydesktop/src/encode_cache.c
index 95be8c4..05989e2 100644
--- a/recordmydesktop/src/encode_cache.c
+++ b/recordmydesktop/src/encode_cache.c
@@ -31,7 +31,7 @@
void EncodeCache(ProgData *pdata){
pthread_t flush_to_ogg_t,
load_cache_t;
- fprintf(stderr,"STATE:ENCODING\n");
+ fprintf(stderr,"STATE:ENCODING\n");fflush(stderr);
fprintf(stderr,"Encoding started!\nThis may take several minutes.\n"
"Pressing Ctrl-C will cancel the procedure"
" (resuming will not be possible, but\n"
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