diff --git a/player/playloop.c b/player/playloop.c index 7ff82347bd..e0d0056d7d 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -550,7 +550,7 @@ double get_current_pos_ratio(struct MPContext *mpctx, bool use_range) double pos = get_current_time(mpctx); if (len > 0) ans = MPCLAMP((pos - start) / len, 0, 1); - if (ans < 0 || demuxer->ts_resets_possible) { + if (ans < 0) { int64_t size = demuxer->filesize; if (size > 0 && demuxer->filepos >= 0) ans = MPCLAMP(demuxer->filepos / (double)size, 0, 1);