summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-03 14:58:13 +0100
committerwm4 <wm4@nowhere>2017-11-03 14:58:13 +0100
commit4fca1856e15e5294fb127ffd9d9a434ec4a2c2df (patch)
tree0428d077da979a865ff7d42b516dbb4fc081a083 /video/out/gpu/video.c
parent36630585f60813c5272de255c08e09d0436c2243 (diff)
downloadmpv-4fca1856e15e5294fb127ffd9d9a434ec4a2c2df.tar.bz2
mpv-4fca1856e15e5294fb127ffd9d9a434ec4a2c2df.tar.xz
demux: don't allow subtitles to mess up buffered time display
In a shit show of subtle corner case interactions, making the demuxer cache buffer the entire file can display a small buffered time if subtitles are enabled. The reason is that some subtitle decoders may read in advance infinitely, i.e. they read the entire subtitle stream. Then, since the other streams (audio/video) have logically reached EOF, and the subtitle stream is set to ds->active==true. This will have to be fixed properly later to account buffering for subtitle-only files (another corner case) correctly, but for now this is less annoying.
Diffstat (limited to 'video/out/gpu/video.c')
0 files changed, 0 insertions, 0 deletions