mpv: revert cache_pause changes, keep larger demuxer buffer

The cache_pause=yes change (ac3939e) broke first-click popout
playback — mpv paused indefinitely waiting for cache fill on
uncached videos. Reverted to cache_pause=no.

Kept the demuxer_max_bytes bump (50→150MiB) which reduces stutter
on network streams by giving mpv more buffer headroom without
changing the pause/play behavior.

behavior change
This commit is contained in:
pax 2026-04-11 20:00:27 -05:00
parent 7046f9b94e
commit c1af3f2e02

View File

@ -77,15 +77,10 @@ def build_mpv_kwargs(is_windows: bool) -> dict[str, object]:
"vd_lavc_fast": "yes", "vd_lavc_fast": "yes",
"vd_lavc_skiploopfilter": "nonkey", "vd_lavc_skiploopfilter": "nonkey",
"cache": "yes", "cache": "yes",
"cache_pause": "yes", "cache_pause": "no",
"cache_pause_wait": "2",
"cache_secs": "30",
"demuxer_max_bytes": "150MiB", "demuxer_max_bytes": "150MiB",
"demuxer_max_back_bytes": "75MiB",
"demuxer_readahead_secs": "20", "demuxer_readahead_secs": "20",
"stream_buffer_size": "4MiB", "network_timeout": "10",
"network_timeout": "30",
"user_agent": "Mozilla/5.0",
"ytdl": "no", "ytdl": "no",
"load_scripts": "no", "load_scripts": "no",
} }