1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
mpv/demux
wm4 beb4f8316a demux: add options to control maximum queue size
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.
2015-08-05 23:41:29 +02:00
..
codec_tags.c demux: mime types are case-insensitive 2015-06-21 18:21:21 +02:00
codec_tags.h
cue.c demux: get rid of some bstr things 2015-06-24 14:18:51 +02:00
cue.h demux: get rid of some bstr things 2015-06-24 14:18:51 +02:00
demux_cue.c player, demux: replace some demux_open() uses with demux_open_url() 2015-06-24 21:26:06 +02:00
demux_disc.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
demux_edl.c demux_edl: fix includes 2015-05-24 23:27:23 +02:00
demux_lavf.c demux_lavf: check for NAN rotation angles 2015-06-30 19:35:19 +02:00
demux_libass.c demux: merge extradata fields 2015-06-21 18:06:14 +02:00
demux_mf.c Update license headers 2015-04-13 12:10:01 +02:00
demux_mkv_timeline.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
demux_mkv.c demux_mkv: remove unnecessary code 2015-07-20 13:04:06 +02:00
demux_playlist.c player: warn against using HLS URLs with --playlist 2015-08-04 17:51:00 +02:00
demux_rar.c demux: fix rar support for files containing DTS audio tracks 2015-03-24 21:29:09 +01:00
demux_raw.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
demux_subreader.c Various spelling fixes 2015-06-18 19:36:58 +02:00
demux_tv.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
demux.c demux: add options to control maximum queue size 2015-08-05 23:41:29 +02:00
demux.h demux: add options to control maximum queue size 2015-08-05 23:41:29 +02:00
ebml.c demux_mkv: allow integer and float elements with length 0 2015-06-24 14:34:05 +02:00
ebml.h Update license headers 2015-04-13 12:10:01 +02:00
matroska.h demux_mkv: remove indirection through defines 2015-06-19 21:41:57 +02:00
packet.c demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
packet.h Update license headers 2015-04-13 12:10:01 +02:00
stheader.h demux: export forced flag 2015-06-27 22:02:24 +02:00
timeline.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
timeline.h demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00