mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
70e7d63ba0
Previously, Matroska source files other than the initially opened one were always accessed without caching. Enable cache for extra files too. A separate cache process/thread is started for each file, which is less than optimal but probably better than no caching if the user explicitly enabled cache. This commit only implements caching for Matroska ordered chapters (not for EDL timeline). To build the timeline we need to demux the files in the current directory to look for segments with matching uuid. This first demux is done with no cache since we don't need to read a lot of the stream. If the file is recognized as one of the needed sources it's reopened with cache enabled. Also move the stream_cache_size global variable to the options struct. Conflicts: cfg-mplayer.h mplayer.c stream/stream.h timeline/tl_matroska.c |
||
---|---|---|
.. | ||
ai_alsa1x.c | ||
ai_oss.c | ||
asf_mmst_streaming.c | ||
asf_mmst_streaming.h | ||
asf_streaming.c | ||
audio_in.c | ||
audio_in.h | ||
cache2.c | ||
cache2.h | ||
cdd.h | ||
cdinfo.c | ||
cookies.c | ||
cookies.h | ||
dvb_tune.c | ||
dvb_tune.h | ||
dvbin.h | ||
frequencies.c | ||
frequencies.h | ||
http.c | ||
http.h | ||
network.c | ||
network.h | ||
open.c | ||
pvr.h | ||
stream_bluray.c | ||
stream_cdda.c | ||
stream_cddb.c | ||
stream_dvb.c | ||
stream_dvd_common.c | ||
stream_dvd_common.h | ||
stream_dvd.c | ||
stream_dvd.h | ||
stream_ffmpeg.c | ||
stream_file.c | ||
stream_ftp.c | ||
stream_mf.c | ||
stream_netstream.c | ||
stream_netstream.h | ||
stream_null.c | ||
stream_pvr.c | ||
stream_radio.c | ||
stream_radio.h | ||
stream_smb.c | ||
stream_tv.c | ||
stream_udp.c | ||
stream_vcd.c | ||
stream_vstream.c | ||
stream.c | ||
stream.h | ||
tcp.c | ||
tcp.h | ||
tv.c | ||
tv.h | ||
tvi_bsdbt848.c | ||
tvi_def.h | ||
tvi_dummy.c | ||
tvi_v4l2.c | ||
udp.c | ||
udp.h | ||
url.c | ||
url.h | ||
vcd_read_darwin.h | ||
vcd_read_fbsd.h | ||
vcd_read_win32.h | ||
vcd_read.h |