vo_rpi: fix blackscreen before the first subtitle/OSD is rendered

The OSD overlay wasn't initialized, so it remained solid black until the
first time a subtitle line or an OSD element became visible.
This commit is contained in:
wm4 2015-08-20 10:36:32 +02:00
parent 3bceb37b06
commit b8fe17f2e6
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ static int update_display_size(struct vo *vo)
}
p->sc = gl_sc_create(p->egl.gl, vo->log, vo->global),
p->osd = mpgl_osd_init(p->egl.gl, vo->log, vo->osd);
p->osd_change_counter = -1; // force initial overlay rendering
p->display_fps = 0;
TV_GET_STATE_RESP_T tvstate;