diff options
author | wm4 <wm4@nowhere> | 2016-10-21 17:07:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-21 17:11:26 +0200 |
commit | f64de3ea6659e6fe459700d1d03917990eb9d84a (patch) | |
tree | a1ad9d1e30119b65091a70d9b3f932173950c61d /misc/node.h | |
parent | 61a51c57a9aae865930b4cc69a1480218e374404 (diff) | |
download | mpv-f64de3ea6659e6fe459700d1d03917990eb9d84a.tar.bz2 mpv-f64de3ea6659e6fe459700d1d03917990eb9d84a.tar.xz |
player: don't leave buffering during underflow
Don't leave the buffering state while the demuxer is still marked as
having underflowed. It's unclear why this hasn't been done before - with
the logic being complicated as it is, maybe there was a reason for this.
This is actually still not very reliable, but should be better than what
was before: on stream switching decoders can read packets all while the
demuxer is executing a refresh seek, which creates the underrun
situation - but nothing really totally guarantees that the underrun
state remains stable when the demuxer is back at the current demuxer
position. Anyway, it's an improvement.
The rest of the touched condition is not changed, just moved around for
cosmetic reasons.
Diffstat (limited to 'misc/node.h')
0 files changed, 0 insertions, 0 deletions