player: fix initial osd progbar state

This made seeking show an empty progbar if --osd-level=0 was used.
This commit is contained in:
wm4 2014-01-20 19:29:15 +01:00
parent 32fea9e607
commit 1179676eb4
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ static int mpv_main(int argc, char *argv[])
*mpctx = (struct MPContext){
.last_dvb_step = 1,
.term_osd_contents = talloc_strdup(mpctx, ""),
.osd_progbar = { .type = -1 },
.playlist = talloc_struct(mpctx, struct playlist, {0}),
};