diff options
Diffstat (limited to 'player/osd.c')
-rw-r--r-- | player/osd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/player/osd.c b/player/osd.c index cb49131cc1..ce3ba103cd 100644 --- a/player/osd.c +++ b/player/osd.c @@ -363,8 +363,7 @@ void set_osd_bar_chapters(struct MPContext *mpctx, int type) } else { int num = get_chapter_count(mpctx); for (int n = 0; n < num; n++) { - double time = chapter_start_time(mpctx, n) - - get_start_time(mpctx); + double time = chapter_start_time(mpctx, n); if (time >= 0) { float pos = time / len; MP_TARRAY_APPEND(mpctx, mpctx->osd_progbar.stops, |