mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 12:40:19 +00:00
Fixed commit 3657dcaa2
This commit is contained in:
@@ -421,9 +421,9 @@ static void print_fps(steady_clock::time_point *t0, int *frames, const string &n
|
||||
double seconds = duration_cast<duration<double>>(t1 - *t0).count();
|
||||
if (seconds >= 5.0) {
|
||||
double fps = *frames / seconds;
|
||||
LOG(LOG_LEVEL_INFO) << "[" << name << "] " << frames << " frames in " << seconds << " seconds = " << BOLD(fps << " FPS\n");
|
||||
LOG(LOG_LEVEL_INFO) << "[" << name << "] " << *frames << " frames in " << seconds << " seconds = " << BOLD(fps << " FPS\n");
|
||||
*t0 = t1;
|
||||
frames = 0;
|
||||
*frames = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user