mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 18:42:09 +00:00
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.
This commit is contained in:
parent
bf6b981367
commit
ad6e7c31df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user