Fix forgotten parameter of video_monitor_get_fps

This commit is contained in:
Matthew Wolff 2017-01-12 23:40:58 -06:00
parent ea3dd6a95b
commit f6284721d8
2 changed files with 2 additions and 1 deletions

View File

@ -476,7 +476,7 @@ static bool dispmanx_gfx_frame(void *data, const void *frame, unsigned width,
if (_dispvars->menu_active)
{
char buf[128];
video_monitor_get_fps(buf, sizeof(buf), NULL, 0);
video_monitor_get_fps(video_info, buf, sizeof(buf), NULL, 0);
}
/* Update main surface: locate free page, blit and flip. */

View File

@ -461,6 +461,7 @@ bool video_monitor_fps_statistics(double *refresh_rate,
/**
* video_monitor_get_fps:
* @video_info : information about the video frame
* @buf : string suitable for Window title
* @size : size of buffer.
* @buf_fps : string of raw FPS only (optional).