vo: log framedrops

Seems useful. (This was possibly added ages ago and then removed.)
This commit is contained in:
wm4 2016-09-23 19:44:46 +02:00
parent 6f6c4a57ec
commit 9664bc23d5
1 changed files with 3 additions and 1 deletions

View File

@ -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;