mpv/stream
wm4 c91e659f88 stream: redo buffer handling and allow arbitrary size for stream_peek()
struct stream used to include the stream buffer, including peek buffer,
inline in the struct. It could not be resized, which means the maximum
peek size was set in stone. This meant demux_lavf.c could peek only so
much data.

Change it to use a dynamic buffer. Because it's possible, keep the
inline buffer for default buffer sizes (which are basically always used
outside of file opening). It's unknown whether it really helps with
anything. Probably not.

This is also the fallback plan in case we need something like the old
stream cache in order to deal with mp4 + unseekable http: the code can
now be easily changed to use any buffer size.
2019-09-19 20:37:04 +02:00
..
cookies.c cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
cookies.h cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
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
stream.c stream: redo buffer handling and allow arbitrary size for stream_peek() 2019-09-19 20:37:04 +02:00
stream.h stream: redo buffer handling and allow arbitrary size for stream_peek() 2019-09-19 20:37:04 +02:00
stream_avdevice.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_bluray.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_cb.c stream_cb: don't add "*://" to protocol list 2016-09-10 15:35:22 +02:00
stream_cdda.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_dvb.c stream: remove some more optical disc leftovers 2019-09-13 17:32:21 +02:00
stream_dvdnav.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_edl.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_file.c stream_file: remove unnecessary short write logic 2019-09-14 13:00:10 +02:00
stream_lavf.c options: add --http-proxy 2018-05-31 01:24:51 +03:00
stream_libarchive.c stream_libarchive: remove base filename stuff 2019-09-19 20:37:04 +02:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_mf.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_null.c stream_null: change license to LGPL 2017-05-08 12:45:50 +02:00
stream_smb.c stream_smb: remove unnecessary short write logic 2019-09-14 13:00:43 +02:00