diff options
author | wm4 <wm4@nowhere> | 2016-09-23 19:44:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-23 19:44:46 +0200 |
commit | 9664bc23d524031d6a14002295f8cf68fe0d4cc9 (patch) | |
tree | 447515302f2a853d827e8a0428b93593b594e6f3 /video | |
parent | 6f6c4a57ec11dc75828d3eaa8422936e912e9bb5 (diff) |
vo: log framedrops
Seems useful. (This was possibly added ages ago and then removed.)
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |