diff options
author | wm4 <wm4@nowhere> | 2014-08-27 10:55:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-27 10:59:22 +0200 |
commit | dad90f616da5665e6e27a516f78c2a5fa66162c2 (patch) | |
tree | 1dbf9ee388dfe35c5baa0fccaa9ab6e7cc5172f2 /ta/ta_talloc.c | |
parent | 0b428e44829abc4387f051e3c618c1c878b3a838 (diff) | |
download | mpv-dad90f616da5665e6e27a516f78c2a5fa66162c2.tar.bz2 mpv-dad90f616da5665e6e27a516f78c2a5fa66162c2.tar.xz |
player: fix basic playback
The "buffering" logic was active even if the stream cache was disabled.
This is contrary to what the manpage says. It also breaks playback
because of another bug: the demuxer cache is smaller than 2 seconds,
and thus the resume condition never becomes true.
Explicitly run this code only if the stream cache is enabled. Also, fix
the underlying problem of the breakage, and resume when the demuxer
thread stops reading in any case, not just on EOF.
Broken by previous commit. Unbreaks playback of local files.
Diffstat (limited to 'ta/ta_talloc.c')
0 files changed, 0 insertions, 0 deletions