mpv/stream
wm4 fc76d41194 stream_file: add mode for reading appended files
Do this because retrying reading on higher levels (like the demuxer)
usually causes tons of problems. A hack like this is simpler and could
allow to remove some of the higher level retry behavior.

This works by trying to detect whether the file is appended. If we reach
EOF, check if the file size changed compared to the initial value. If it
did, it means the file was appended at least once, and we set the
p->appending flag. If that flag is set, we simply retry reading more
data every time we encounter EOF. The only way to do this is polling,
and we poll for at most 10 times, after waiting for 200ms every time.
2018-02-21 22:57:39 -08:00
..
ai_alsa1x.c
ai_oss.c
ai_sndio.c
audio_in.c
audio_in.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
cache.c cache: fix --cache-initial status message 2018-01-07 05:03:15 -08:00
cache_file.c
cookies.c
cookies.h
dvb_tune.c dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvb_tune.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvbin.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
frequencies.c
frequencies.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
rar.c
rar.h
stream.c stream: use native libavformat reconnection feature 2018-01-04 18:33:18 -08:00
stream.h stream: use native libavformat reconnection feature 2018-01-04 18:33:18 -08:00
stream_avdevice.c
stream_bluray.c stream_bluray: always show list of available titles 2018-01-23 11:13:37 +00:00
stream_cb.c
stream_cdda.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_dvb.c dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
stream_dvd.c
stream_dvd_common.c
stream_dvd_common.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_dvdnav.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_edl.c
stream_file.c stream_file: add mode for reading appended files 2018-02-21 22:57:39 -08:00
stream_lavf.c stream_lavf: remove deprecated hls protocol from whitelist 2018-01-25 20:18:32 -08:00
stream_libarchive.c stream_libarchive: fix seeking fallback 2017-12-24 21:33:16 +01:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c
stream_mf.c
stream_null.c
stream_rar.c
stream_smb.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
stream_tv.c
tv.c
tv.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
tvi_def.h
tvi_dummy.c
tvi_v4l2.c Fix undefined preprocessor behavior 2018-01-18 00:25:00 -08:00