Add an offset to sub seek correctly like in b35e34ae2f. The extra 0.01 offset apparently isn't necessary in this case.
Unified · Split
| @@ -239,7 +239,11 @@ mp.add_forced_key_binding(nil, "select-subtitle-line", function () · 238 unmodified lines | ||
| 239 | 239 | items = sub_lines, |
| 240 | 240 | default_item = default_item, |
| 241 | 241 | submit = function (index) |
| 242 | − mp.commandv("seek", sub_times[index], "absolute") | |
| 242 | + -- Add an offset to seek to the correct line while paused without a | |
| 243 | + -- video track. | |
| 244 | + local offset = mp.get_property_native("current-tracks/video/image") == false | |
| 245 | + and 0 or .09 | |
| 246 | + mp.commandv("seek", sub_times[index] + offset, "absolute") | |
| 243 | 247 | end, |
| 244 | 248 | }) |
| 245 | 249 | end) |