From 9664bc23d524031d6a14002295f8cf68fe0d4cc9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Sep 2016 19:44:46 +0200 Subject: vo: log framedrops Seems useful. (This was possibly added ages ago and then removed.) --- video/out/vo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index 74449a9296..4b28aadaa1 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -830,7 +830,9 @@ static bool render_frame(struct vo *vo) update_vsync_timing_after_swap(vo); } - if (!in->dropped_frame) { + if (in->dropped_frame) { + MP_STATS(vo, "drop-vo"); + } else { vo->want_redraw = false; in->want_redraw = false; in->request_redraw = false; -- cgit v1.2.3