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:
parent
b055cdd1a2
commit
5564f4cf0a
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user