1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00
mpv/stream
Stefano Pigozzi 70e7d63ba0 core, timeline: cache external ordered chapter files too
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
2012-09-18 21:07:30 +02:00
..
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 core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
cache2.h
cdd.h
cdinfo.c
cookies.c windows support: unicode filenames 2012-03-09 20:48:54 +02:00
cookies.h
dvb_tune.c
dvb_tune.h
dvbin.h
frequencies.c
frequencies.h
http.c core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
http.h
network.c core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
network.h
open.c Add support for playing video from streaming sites with libquvi 2012-07-28 22:05:34 +02:00
pvr.h
stream_bluray.c bluray: add bd:// as stream prefix 2012-09-18 21:04:46 +02:00
stream_cdda.c stream: add new stream control command STREAM_CTRL_GET_NUM_TITLES 2012-08-03 01:43:03 +02:00
stream_cddb.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
stream_dvb.c
stream_dvd_common.c
stream_dvd_common.h
stream_dvd.c core: fix DVD subtitle selection 2012-09-18 21:04:45 +02:00
stream_dvd.h commands, dvd, dvdnav, bluray: cleanup sub/audio track language display 2012-08-03 01:59:15 +02:00
stream_ffmpeg.c stream_ffmpeg: fix broken line from 30afc64532 2012-04-18 01:27:55 +03:00
stream_file.c stream_file: print strerror() when failing to open a file 2012-08-16 17:16:32 +02:00
stream_ftp.c
stream_mf.c
stream_netstream.c
stream_netstream.h
stream_null.c
stream_pvr.c stream_pvr: fix buffer overflow 2012-08-03 03:34:38 +02:00
stream_radio.c stream: remove V4L TV input and V4L radio support 2012-08-02 23:51:54 +02:00
stream_radio.h
stream_smb.c
stream_tv.c mplayer, stream_tv: move variable initialization 2012-08-03 04:51:55 +02:00
stream_udp.c
stream_vcd.c stream: add new stream control command STREAM_CTRL_GET_NUM_TITLES 2012-08-03 01:43:03 +02:00
stream_vstream.c stream_vstream: fix vstream_error format string 2012-04-01 17:35:01 +03:00
stream.c Remove support for libnemesi RTSP streaming 2012-08-20 15:36:03 +02:00
stream.h core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
tcp.c
tcp.h
tv.c libaf: rename af_format.h to format.h 2012-08-29 00:50:26 +02:00
tv.h Remove teletext support 2012-08-03 00:12:46 +02:00
tvi_bsdbt848.c libaf: rename af_format.h to format.h 2012-08-29 00:50:26 +02:00
tvi_def.h
tvi_dummy.c
tvi_v4l2.c libaf: rename af_format.h to format.h 2012-08-29 00:50:26 +02:00
udp.c
udp.h
url.c
url.h
vcd_read_darwin.h
vcd_read_fbsd.h
vcd_read_win32.h
vcd_read.h