diff options
author | wm4 <wm4@nowhere> | 2014-01-20 19:29:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-20 19:31:23 +0100 |
commit | 1179676eb4e70f2dffd7031d96026023636a36f6 (patch) | |
tree | b32b2594f1f4ae14497307bb3fa68dec5465fdf7 /player/main.c | |
parent | 32fea9e60783c43a63d24b091546e4a1a03a1bf5 (diff) |
player: fix initial osd progbar state
This made seeking show an empty progbar if --osd-level=0 was used.
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 1 |
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}), }; |