mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 11:20:56 +00:00
Makes sure that seeking to a given time position shows the subtitle at that position. This can fail if the subtitle packet is not close enough to the seek target. Always enabled for hr-seeks, and can be manually enabled for normal seeks with --mkv-subtitle-preroll. This helps displaying subtitles correctly with ordered chapters. When switching ordered chapter segments, a seek is performed. If the subtitle is timed slightly before the start of the segment, it normally won't be demuxed. This is a problem with all seeks, but in this case normal playback is affected. Since switching segments always uses hr-seeks, the code added by this commit is always active in this situation. If no subtitles are selected or the subtitles come from an external file, the demuxer should behave exactly as before this commit. |
||
---|---|---|
.. | ||
man/en | ||
OUTDATED-tech | ||
crosscompile-mingw.txt | ||
edl.rst | ||
encoding.rst | ||
tech-overview.txt |