summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-21 23:49:25 +0100
committerwm4 <wm4@nowhere>2016-01-22 00:25:44 +0100
commit50c701574dc6b52a695e417586875aa0066592e8 (patch)
tree607bf56f1cd4d91c8f69754f66ceeece41febdaa /player/video.c
parent04ec417d41a7792e08d4bd6c6ee24671c17425b4 (diff)
downloadmpv-50c701574dc6b52a695e417586875aa0066592e8.tar.bz2
mpv-50c701574dc6b52a695e417586875aa0066592e8.tar.xz
sub: change when/how subtitles are read completely
Most text subtitles are read completely on loading (libavformat works this way, and there are good reasons to do it on the higher levels too). This leads to some messy problems. For example, the subtitle path is the only one which might read packets during decoder initialization. This is not neccessary; get rid of it. This fixes a potential problem of seeking to position 0 for image subtitles on init, and if the start position is not at the beginning of the timeline.
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions