_mpv_options: reduce default demuxer buffer from 150MiB to 50MiB
150MiB is excessive for local cached file playback. Network streaming URLs get the 150MiB cap via a per-file override in play_file() so the fast-path buffering is unaffected. behavior change: mpv allocates less demuxer memory for local files.
This commit is contained in:
parent
45b87adb33
commit
b055cdd1a2
@ -78,7 +78,7 @@ def build_mpv_kwargs(is_windows: bool) -> dict[str, object]:
|
|||||||
"vd_lavc_skiploopfilter": "nonkey",
|
"vd_lavc_skiploopfilter": "nonkey",
|
||||||
"cache": "yes",
|
"cache": "yes",
|
||||||
"cache_pause": "no",
|
"cache_pause": "no",
|
||||||
"demuxer_max_bytes": "150MiB",
|
"demuxer_max_bytes": "50MiB",
|
||||||
"demuxer_readahead_secs": "20",
|
"demuxer_readahead_secs": "20",
|
||||||
"network_timeout": "10",
|
"network_timeout": "10",
|
||||||
"ytdl": "no",
|
"ytdl": "no",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user