From 1179676eb4e70f2dffd7031d96026023636a36f6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Jan 2014 19:29:15 +0100 Subject: [PATCH] player: fix initial osd progbar state This made seeking show an empty progbar if --osd-level=0 was used. --- player/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player/main.c b/player/main.c index b23ff3ed5f..868b97b49a 100644 --- a/player/main.c +++ b/player/main.c @@ -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}), };