diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-12-06 18:42:45 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-12-06 18:42:45 +0000 |
commit | 8f346c1f0dedde55cd21cc76c1c45fb60fc51c86 (patch) | |
tree | 32876c36e9074d9b7de8551be73e22f9f5410937 | |
parent | e05597c81d8a5d5de1c4710342134df99650f28e (diff) |
encode_cache.c, rmd_timer.c: fflush(stderr) on state changes
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@460 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | recordmydesktop/src/encode_cache.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_timer.c | 4 |
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); |