From bc03bc821410e55c1b26796a20282e9d749245dd Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 2 Oct 2019 19:20:51 +0200 Subject: DOCS/tech-overview.txt: caching has changed --- DOCS/tech-overview.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DOCS') 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. -- cgit v1.2.3