[rtmpdump] r34 - rtmpdump.cpp

hyc subversion at mplayerhq.hu
Mon Nov 9 03:07:13 CET 2009


Author: hyc
Date: Mon Nov  9 03:07:12 2009
New Revision: 34

Log:
Hashes should use LogStatus() too

Modified:
   rtmpdump.cpp

Modified: rtmpdump.cpp
==============================================================================
--- rtmpdump.cpp	Mon Nov  9 02:48:30 2009	(r33)
+++ rtmpdump.cpp	Mon Nov  9 03:07:12 2009	(r34)
@@ -816,7 +816,7 @@ int Download(CRTMP *rtmp,               
 				*percent = round(*percent*10.0)/10.0;
 				if (bHashes) {
 					if ( lastPercent + 1 <= *percent ) {
-						LogPrintf("#");
+						LogStatus("#");
 						lastPercent = (unsigned long)*percent;
 					}
 				} else {
@@ -830,7 +830,7 @@ int Download(CRTMP *rtmp,               
 				now = GetTime();
 				if (abs(now - lastUpdate) > 200) {
 					if (bHashes)
-						LogPrintf("#");
+						LogStatus("#");
 					else
 						LogStatus("\r%.3f kB / %.2f sec", (double)size/1024.0, (double)(timestamp)/1000.0);
 					lastUpdate = now;


More information about the rtmpdump mailing list