diff --git a/player/lua/select.lua b/player/lua/select.lua index 40042e1f96..dada2a06a9 100644 --- a/player/lua/select.lua +++ b/player/lua/select.lua @@ -239,7 +239,11 @@ mp.add_forced_key_binding(nil, "select-subtitle-line", function () items = sub_lines, default_item = default_item, submit = function (index) - mp.commandv("seek", sub_times[index], "absolute") + -- Add an offset to seek to the correct line while paused without a + -- video track. + local offset = mp.get_property_native("current-tracks/video/image") == false + and 0 or .09 + mp.commandv("seek", sub_times[index] + offset, "absolute") end, }) end)