summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/sub.c')
-rw-r--r--player/sub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/sub.c b/player/sub.c
index 0a55936f54..c2a3e80cb3 100644
--- a/player/sub.c
+++ b/player/sub.c
@@ -222,8 +222,8 @@ static void update_subtitle(struct MPContext *mpctx, int order)
if (subpts_s > curpts_s) {
MP_DBG(mpctx, "Sub early: c_pts=%5.3f s_pts=%5.3f\n",
curpts_s, subpts_s);
- // Libass handled subs can be fed to it in advance
- if (!sub_accept_packets_in_advance(dec_sub))
+ // Often subs can be handled in advance
+ if (!sub_accepts_packet_in_advance(dec_sub))
break;
// Try to avoid demuxing whole file at once
if (subpts_s > curpts_s + 1 && !interleaved)