diff options
author | wm4 <wm4@nowhere> | 2016-04-22 09:31:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-22 09:31:21 +0200 |
commit | 2b4123f07857425d2fd77b7f339f12812eceec29 (patch) | |
tree | 95676f7022cff593bd208ce5c7b6ed5734872ad5 /player | |
parent | 1944a34c230b6afb7707fe4fb5eb0c613b96db9b (diff) | |
download | mpv-2b4123f07857425d2fd77b7f339f12812eceec29.tar.bz2 mpv-2b4123f07857425d2fd77b7f339f12812eceec29.tar.xz |
player: fix OSD bar chapter marks
Truly dumb bug introduced with the previous commit.
Diffstat (limited to 'player')
-rw-r--r-- | player/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/osd.c b/player/osd.c index 810df73719..3a549c070e 100644 --- a/player/osd.c +++ b/player/osd.c @@ -370,7 +370,7 @@ void set_osd_bar_chapters(struct MPContext *mpctx, int type) MP_TARRAY_APPEND(mpctx, mpctx->osd_progbar.stops, mpctx->osd_progbar.num_stops, opts->ab_loop[1] / len); } - if (mpctx->osd_progbar.stops == 0) { + if (mpctx->osd_progbar.num_stops == 0) { int num = get_chapter_count(mpctx); for (int n = 0; n < num; n++) { double time = chapter_start_time(mpctx, n); |