summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-02 19:20:51 +0200
committerwm4 <wm4@nowhere>2019-10-02 19:20:51 +0200
commitbc03bc821410e55c1b26796a20282e9d749245dd (patch)
tree84941811deb47ad0808d8fd694e65e93f102fe38
parentf203a881e56e34e6d403a2091bd3dfec9a6c38ce (diff)
downloadmpv-bc03bc821410e55c1b26796a20282e9d749245dd.tar.bz2
mpv-bc03bc821410e55c1b26796a20282e9d749245dd.tar.xz
DOCS/tech-overview.txt: caching has changed
-rw-r--r--DOCS/tech-overview.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/tech-overview.txt b/DOCS/tech-overview.txt
index 2c4b2341f0..b614d08389 100644
--- a/DOCS/tech-overview.txt
+++ b/DOCS/tech-overview.txt
@@ -139,9 +139,6 @@ stream/*:
Some stream inputs are just there to invoke special demuxers, like
stream_mf.c. (Basically to make the prefix "mf://" do something special.)
- cache.c is a caching wrapper around streams implementations, needed for
- smooth network playback.
-
demux/:
Demuxers split data streams into audio/video/sub streams, which in turn
are split in packets. Packets (see demux_packet.h) are mostly byte chunks
@@ -155,6 +152,10 @@ demux/:
There is a stream header for each audio/video/sub stream, and each of them
holds codec information about the stream and other information.
+ demux.c is a bit big, the main reason being that it contains the demuxer
+ cache, which is implemented as a list of packets. The cache is complex
+ because it support seeking, multiple ranges, prefetching, and so on.
+
video/:
This contains several things related to audio/video decoding, as well as
video filters.