mpv/demux
Dudemanguy d54e8c3f40 demux_mkv: drop image probing down to 10000 blocks
It turns out that probing too many blocks is bad. I did not attempt to
go through all the logic but reading that many blocks causes the
demux_reader_state have some pretty funny values which then makes the
playloop think it needs to buffer for cache. It's probably fixable...
but seems hard admittedly so I'll be lazy. Just take out a magnitude off
the probing down to 10000. These seems to be more than sufficient. The
sample in #13975 where we had the opposite issue only needs somewhere
between 1700 and 1750 blocks to be properly detected. Crudely looking
at the demuxer values, 10000 here doesn't appear to alter anything
meaningfully so it does not have the "too many blocks problem".
Hopefully this is a perfect medium? Further improvements to the probe
can always be added later. Or maybe we decide this is all a giant
mistake and delete it. Fixes #14924.
2024-09-26 02:55:35 +00:00
..
cache.c options: remove some deprecated OPT_REPLACED option mapping 2024-06-25 02:18:58 +00:00
cache.h
codec_tags.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
codec_tags.h Revert "demux: put type2format into codec_tags with helper functions" 2024-02-06 18:08:53 +01:00
cue.c
cue.h
demux.c demux_playlist: use --directory-filter-types for --autocreate-playlist 2024-08-10 23:27:40 +02:00
demux.h demux_playlist: add --autocreate-playlist-{video,audio,image}-exts 2024-08-10 23:27:40 +02:00
demux_cue.c options: remove some deprecated OPT_REPLACED option mapping 2024-06-25 02:18:58 +00:00
demux_disc.c csputils: replace more primitives with pl_ 2024-01-22 14:54:55 +00:00
demux_edl.c demux_edl: don't try to extract dirname from self-expanding protocols 2024-07-11 03:48:25 +02:00
demux_lavf.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
demux_libarchive.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
demux_mf.c demux_mf: disable glob for fuzzing 2024-08-04 21:33:36 +02:00
demux_mkv.c demux_mkv: drop image probing down to 10000 blocks 2024-09-26 02:55:35 +00:00
demux_mkv_timeline.c stream: don't mark stdin as a filesystem file 2024-09-14 16:17:44 +02:00
demux_null.c
demux_playlist.c stream: don't mark stdin as a filesystem file 2024-09-14 16:17:44 +02:00
demux_raw.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
demux_timeline.c
ebml.c demux/ebml: bump ebml size limit to 512 MiB 2024-07-15 17:38:22 +02:00
ebml.h demux/packet: add support for ITU T.35 metadata in Matroska 2024-04-29 01:37:02 +02:00
matroska.h
packet.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
packet.h sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
stheader.h command: add dolby-vision-profile and dolby-vision-level to track-list 2024-05-10 01:26:30 +02:00
timeline.c
timeline.h