summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/command.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/command.c b/player/command.c
index 3273684227..712c081d04 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5445,10 +5445,6 @@ static void cmd_sub_step_seek(void *p)
track_ind == 0 ? "sub-delay" : "secondary-sub-delay",
cmd->on_osd);
} else {
- // We can easily seek/step to the wrong subtitle line (because
- // video frame PTS and sub PTS rarely match exactly). Add an
- // arbitrary forward offset as a workaround.
- a[0] += SUB_SEEK_OFFSET;
mark_seek(mpctx);
queue_seek(mpctx, MPSEEK_ABSOLUTE, a[0], MPSEEK_EXACT,
MPSEEK_FLAG_DELAY);