mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
beb4f8316a
Add --demuxer-max-packets and --demuxer-max-bytes, which control the maximum size of the packet queue. These can be helpful to avoid excessive memory usage. Memory usage is the reason why there's a limit in the first place. If a file is more or less broken, and audio and video don't line up, the decoders will fill up the packet queue trying to read more audio or video, and the maximum sizes are required to avoid unbounded memory allocation. Being able to override the maximum sizes is useful; either for restricting memory usage further, or enlarging the sizes when attempting to play various broken files. |
||
---|---|---|
.. | ||
codec_tags.c | ||
codec_tags.h | ||
cue.c | ||
cue.h | ||
demux_cue.c | ||
demux_disc.c | ||
demux_edl.c | ||
demux_lavf.c | ||
demux_libass.c | ||
demux_mf.c | ||
demux_mkv_timeline.c | ||
demux_mkv.c | ||
demux_playlist.c | ||
demux_rar.c | ||
demux_raw.c | ||
demux_subreader.c | ||
demux_tv.c | ||
demux.c | ||
demux.h | ||
ebml.c | ||
ebml.h | ||
matroska.h | ||
packet.c | ||
packet.h | ||
stheader.h | ||
timeline.c | ||
timeline.h |