mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 10:26:09 +00:00
player: hide cache in status line by default again
Commit 57506b27
accidentally broke this. The status (including the
usually always active demuxer cache) should be shown only if the stream
cache is actually enabled.
This commit is contained in:
parent
1107a070e4
commit
3984d2acca
@ -259,7 +259,7 @@ static void print_status(struct MPContext *mpctx)
|
||||
if (mpctx->demuxer) {
|
||||
struct stream_cache_info info = {0};
|
||||
demux_stream_control(mpctx->demuxer, STREAM_CTRL_GET_CACHE_INFO, &info);
|
||||
if (info.fill >= 0) {
|
||||
if (info.size > 0) {
|
||||
saddf(&line, " Cache: ");
|
||||
|
||||
struct demux_ctrl_reader_state s = {.ts_duration = -1};
|
||||
|
Loading…
Reference in New Issue
Block a user