mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
osx: fix build
adapt the osx VOs to build against the latest changes.
This commit is contained in:
parent
531778d056
commit
7fd43b0bcd
@ -232,7 +232,7 @@ static void draw_osd(struct vo *vo, struct osd_state *osd_s)
|
||||
struct osd_p *osd = p->osd;
|
||||
GL *gl = p->mpglctx->gl;
|
||||
|
||||
if (vo_osd_has_changed()) {
|
||||
if (vo_osd_has_changed(osd_s)) {
|
||||
clearOSD(vo);
|
||||
osd_draw_text_ext(osd_s, vo->dwidth, vo->dheight, 0, 0, 0, 0,
|
||||
p->image_width, p->image_height, create_osd_texture,
|
||||
@ -465,5 +465,5 @@ const struct vo_driver video_out_corevideo = {
|
||||
.flip_page = flip_page,
|
||||
.check_events = check_events,
|
||||
.uninit = uninit,
|
||||
.privsize = sizeof(struct priv),
|
||||
.priv_size = sizeof(struct priv),
|
||||
};
|
||||
|
@ -261,7 +261,7 @@ const struct vo_driver video_out_sharedbuffer = {
|
||||
.check_events = check_events,
|
||||
.uninit = uninit,
|
||||
.draw_osd = draw_osd,
|
||||
.privsize = sizeof(struct priv),
|
||||
.priv_size = sizeof(struct priv),
|
||||
.options = (const struct m_option[]) {
|
||||
OPT_STRING("buffer_name", buffer_name, 0, OPTDEF_STR("mplayerosx")),
|
||||
{NULL},
|
||||
|
Loading…
Reference in New Issue
Block a user