progress bug

This commit is contained in:
Dhanya Maliakal
2016-11-03 14:17:53 +01:00
parent 274fffa609
commit 4b65c3b694

View File

@ -2733,14 +2733,14 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){
if(totalWritingPacketCount[ithread]){ if(totalWritingPacketCount[ithread]){
printf("\nThread:%d File:%s\n" printf("\nThread:%d File:%s\n"
"\ttotalpacketsinfile:%d\t" //"\ttotalpacketsinfile:%d\t"
"Packets Lost:%d" "Packets Lost:%d"
"\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld" //"\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld"
"\n", "\n",
ithread,completeFileName[ithread], ithread,completeFileName[ithread],
totalPacketsInFile[ithread], //totalPacketsInFile[ithread],
( ((int)(currentFrameNumber[ithread]-frameNumberInPreviousFile[ithread])*packetsPerFrame) - totalPacketsInFile[ithread]) ( ((int)(currentFrameNumber[ithread]-frameNumberInPreviousFile[ithread])*packetsPerFrame) - totalPacketsInFile[ithread])
,currentFrameNumber[ithread],frameNumberInPreviousFile[ithread] //,currentFrameNumber[ithread],frameNumberInPreviousFile[ithread]
); );
} }
closeFile(ithread); closeFile(ithread);