diff options
Diffstat (limited to 'recordmydesktop/src/rmd_load_cache.c')
-rw-r--r-- | recordmydesktop/src/rmd_load_cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_load_cache.c b/recordmydesktop/src/rmd_load_cache.c index 09e3138..8ca37f6 100644 --- a/recordmydesktop/src/rmd_load_cache.c +++ b/recordmydesktop/src/rmd_load_cache.c @@ -237,10 +237,10 @@ void *rmdLoadCache(ProgData *pdata) { missing_frames += frame.header->current_total - (extra_frames + frame.header->frameno); if (pdata->frames_total) { - fprintf(stdout, "\r[%d%%] ", + fprintf(stdout, "\r[%d%%] ", ((frame.header->frameno + extra_frames) * 100) / pdata->frames_total); } else - fprintf(stdout,"\r[%d frames rendered] ", + fprintf(stdout, "\r[%d frames rendered] ", (frame.header->frameno + extra_frames)); fflush(stdout); if ( (frame.header->Ynum <= blocknum_x * blocknum_y) && @@ -320,7 +320,7 @@ void *rmdLoadCache(ProgData *pdata) { pdata->v_encoding_clean = 1; pthread_cond_signal(&pdata->vorbis_lib_clean); pthread_mutex_unlock(&pdata->vorbis_lib_mutex); - fprintf(stdout,"\n"); + fprintf(stdout, "\n"); // Clear frame free(frame.YData); |