0
0
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:
Stefano Pigozzi 2015-03-14 12:33:09 +01:00 committed by Diogo Franco (Kovensky)
parent e865543be2
commit ad119460d7

View File

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