diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 15:36:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 16:17:32 -0700 |
commit | 522d52b58f6a8c29efa915bb1b119f49212e89ee (patch) | |
tree | ceec0dad2ac6532e64a3348f9ae1cd6516601597 /recordmydesktop/src/rmd_load_cache.c | |
parent | eb1a698e750cbb8c7503c93e291942986364aa31 (diff) |
*: more formatting cleanups
Nothing functionally changed
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); |