diff options
author | wm4 <wm4@nowhere> | 2017-11-10 12:32:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-10 12:32:40 +0100 |
commit | b0de1ac36c7b16ff4f2763421b86ebedeba2044b (patch) | |
tree | b0a973df44fab421405e54135e00222402c77933 /video | |
parent | c8bb78bad833c8c94fb027c45c27cfce3a32bca3 (diff) | |
download | mpv-b0de1ac36c7b16ff4f2763421b86ebedeba2044b.tar.bz2 mpv-b0de1ac36c7b16ff4f2763421b86ebedeba2044b.tar.xz |
demux: limit number of seek ranges to a static maximum
Limit the number of cached ranges to MAX_SEEK_RANGES, which is the same
number of maximally exported seek ranges. It makes no sense to keep
them, as the user won't see them anyway. Remove the smallest ones to
enforce the limit if the number grows too high.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions