video_player: pass 150MiB demuxer cap for streaming URLs

Per-file override so network video buffering stays at the
previous level despite the lower default in _mpv_options.
This commit is contained in:
pax 2026-04-11 23:01:40 -05:00
parent b055cdd1a2
commit 5564f4cf0a

View File

@ -471,7 +471,8 @@ class VideoPlayer(QWidget):
tmp = target.with_suffix(target.suffix + ".part")
m.loadfile(path, "replace",
referrer=referer,
stream_record=tmp.as_posix())
stream_record=tmp.as_posix(),
demuxer_max_bytes="150MiB")
self._stream_record_tmp = tmp
self._stream_record_target = target
else: