We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f57dcd commit 2a98890Copy full SHA for 2a98890
1 file changed
src/process/process_av.cpp
@@ -1808,7 +1808,7 @@ namespace Mist{
1808
pData["ainfo"]["sinkSleepTime"] = totalSinkSleep / (uint64_t)inputFrameCount / 1000;
1809
pData["ainfo"]["sourceSleepTime"] = totalSourceSleep / (uint64_t)inputFrameCount / 1000;
1810
}
1811
- if ((uint64_t)outputFrameCount){
+ if ((uint64_t)outputFrameCount > encPrevCount){
1812
pData["ainfo"]["encodeTime"] = (totalEncode - encPrevTime) / (((uint64_t)outputFrameCount)-encPrevCount) / 1000;
1813
encPrevTime = totalEncode;
1814
encPrevCount = (uint64_t)outputFrameCount;
0 commit comments