diff options
author | wm4 <wm4@nowhere> | 2016-08-26 12:28:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-26 13:33:38 +0200 |
commit | b636b1905822272bdde10ebe5d997396751892bf (patch) | |
tree | b129425baa2ab10ec87edb3919aad327edebda00 /sub/ass_mp.c | |
parent | cb9b60ef19e1c37418803feae3fdb7667007b20b (diff) | |
download | mpv-b636b1905822272bdde10ebe5d997396751892bf.tar.bz2 mpv-b636b1905822272bdde10ebe5d997396751892bf.tar.xz |
cache: don't use a backbuffer if the cache is as large as the file
It's just wasted memory.
One corner case is when a file grows during playback, but this is rare
and usually happens on-disk only. The cache size was generally limited
before this change already, so no reason to care.
As an unrelated change, move the cache size info to the resize_cache()
function. There's really no reason not to do this, and it's slightly
more informative if the user changes the cache size at runtime.
Diffstat (limited to 'sub/ass_mp.c')
0 files changed, 0 insertions, 0 deletions