[xiph-commits] r7179 - trunk/vorbis-tools/oggenc

xiphmont at dactyl.lonelymoon.com xiphmont
Mon Jul 19 19:19:22 PDT 2004


Author: xiphmont
Date: Mon Jul 19 19:19:22 2004
New Revision: 7179

Modified:
trunk/vorbis-tools/oggenc/encode.c
Log:
Fix bug report from email from Barry Bouwsma; adds a space to end of
the oggenc encoding line for when ETA time gets smaller from a size
that overflows the time format.



Modified: trunk/vorbis-tools/oggenc/encode.c
===================================================================
--- trunk/vorbis-tools/oggenc/encode.c	2004-07-19 23:36:00 UTC (rev 7178)
+++ trunk/vorbis-tools/oggenc/encode.c	2004-07-20 02:19:19 UTC (rev 7179)
@@ -342,7 +342,7 @@
seconds = (int)(remain_time - (double)((int)remain_time/60)*60);

fprintf(stderr, "\r");
-	fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c"),
+	fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c "),
done*100.0/total, minutes, seconds, spinner[spinpoint++%4]);
}

@@ -352,7 +352,7 @@
static int spinpoint =0;

fprintf(stderr, "\r");
-	fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c"),
+	fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c "),
((int)time)/60, (int)(time - (double)((int)time/60)*60),
spinner[spinpoint++%4]);
}



More information about the commits mailing list