summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-20 19:29:15 +0100
committerwm4 <wm4@nowhere>2014-01-20 19:31:23 +0100
commit1179676eb4e70f2dffd7031d96026023636a36f6 (patch)
treeb32b2594f1f4ae14497307bb3fa68dec5465fdf7 /player
parent32fea9e60783c43a63d24b091546e4a1a03a1bf5 (diff)
downloadmpv-1179676eb4e70f2dffd7031d96026023636a36f6.tar.bz2
mpv-1179676eb4e70f2dffd7031d96026023636a36f6.tar.xz
player: fix initial osd progbar state
This made seeking show an empty progbar if --osd-level=0 was used.
Diffstat (limited to 'player')
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
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}),
};