diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c index bbcc9a3df7..dd3762d36b 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -461,8 +461,7 @@ double get_current_pos_ratio(struct MPContext *mpctx, bool use_range) double start = get_start_time(mpctx); double len = get_time_length(mpctx); if (use_range) { - double startpos = rel_time_to_abs(mpctx, mpctx->opts->play_start, - MP_NOPTS_VALUE); + double startpos = rel_time_to_abs(mpctx, mpctx->opts->play_start); double endpos = get_play_end_pts(mpctx); if (endpos == MP_NOPTS_VALUE || endpos > start + len) endpos = start + len; |