mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
cocoa: signal VO_EVENT_WIN_STATE on fps change
Fixes #1686
(cherry picked from commit efe0fb75bc
)
This commit is contained in:
parent
e865543be2
commit
ad119460d7
@ -266,6 +266,8 @@ static void vo_cocoa_update_screen_fps(struct vo *vo)
|
||||
s->screen_fps = (t.timeScale / (double) t.timeValue);
|
||||
CVDisplayLinkRelease(link);
|
||||
}
|
||||
|
||||
s->pending_events |= VO_EVENT_WIN_STATE;
|
||||
}
|
||||
|
||||
static void vo_cocoa_update_screen_info(struct vo *vo, struct mp_rect *out_rc)
|
||||
|
Loading…
Reference in New Issue
Block a user