cocoa: signal VO_EVENT_WIN_STATE on fps change

Fixes #1686
This commit is contained in:
Stefano Pigozzi 2015-03-14 12:33:09 +01:00
parent 0c9c0474bc
commit efe0fb75bc
1 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,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)