From ad6e7c31df240b1a980df25b43cb35f3cbb1de38 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 23 Oct 2015 19:31:24 +0200 Subject: vo: expose frame->num_vsyncs to the VO backend It's not clear why this was originally hidden, but the information is useful for allowing the VO backend to make decisions about caching. --- video/out/vo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index 759fe92227..3377145e06 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -646,7 +646,6 @@ static bool render_frame(struct vo *vo) frame->next_vsync = next_vsync; frame->prev_vsync = prev_vsync; - frame->num_vsyncs = 1; // Time at which we should flip_page on the VO. int64_t target = frame->display_synced ? 0 : pts - in->flip_queue_offset; -- cgit v1.2.3