diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-10-23 19:31:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-23 19:51:20 +0200 |
commit | ad6e7c31df240b1a980df25b43cb35f3cbb1de38 (patch) | |
tree | 45dcfcf8672170dff9076f0db43b3ad8e89a5a68 | |
parent | bf6b981367e45c3f926d3e667bba3f3ed6e9dc37 (diff) |
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.
-rw-r--r-- | video/out/vo.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |