summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-25 13:45:13 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-25 13:45:13 +0100
commit9780a6260a226f2c19673284730c25d381db074d (patch)
treeda0d6e3031cc6f697060b4c06d43e2860f456619 /modules
parent59d29c0254b9240a00ac9236cc8e92c0ae65ec8a (diff)
video: change video_fps from int to double float
Diffstat (limited to 'modules')
-rw-r--r--modules/cairo/cairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cairo/cairo.c b/modules/cairo/cairo.c
index 2af2a12..e6d5c1b 100644
--- a/modules/cairo/cairo.c
+++ b/modules/cairo/cairo.c
@@ -138,7 +138,7 @@ static void process(struct vidsrc_st *st)
draw_text(st, xoffs, yoffs + FONT_SIZE, "%H", fmt_gmtime, NULL);
- draw_text(st, xoffs, yoffs + FONT_SIZE*2, "%u x %u @ %d fps",
+ draw_text(st, xoffs, yoffs + FONT_SIZE*2, "%u x %u @ %.2f fps",
st->size.w, st->size.h, st->prm.fps);
draw_logo(st);