diff options
author | wm4 <wm4@nowhere> | 2015-03-04 12:07:04 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-05 10:47:36 +0900 |
commit | 7ee8237e66401c6a3834d41230e9e999b5e26007 (patch) | |
tree | 048ca5b60f7d562ead76deb0544041733cd558ea /common | |
parent | 6fc0b4e24bddf0ad5c4813d194bd0cc27d96f44b (diff) | |
download | mpv-7ee8237e66401c6a3834d41230e9e999b5e26007.tar.bz2 mpv-7ee8237e66401c6a3834d41230e9e999b5e26007.tar.xz |
cache: assume file size from EOF position
If we're caching a stream with unknown size, and we reach EOF, then
consider the EOF position the file size. Typically makes sense when
reading from a pipe or a http connection that did not send a size.
(cherry picked from commit 3cd394995f812aba93166febd1032e3f4208d49b)
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions