summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-01 01:54:12 +0100
committerwm4 <wm4@nowhere>2019-11-01 01:54:12 +0100
commit5189ea46965237450651ee1d74b6d214dad7bb7c (patch)
treecd6f433b53de902878821c55887b6f9fed6d3dad
parentfdce778605648da249bef9eb0c9ce31ada89777e (diff)
downloadmpv-5189ea46965237450651ee1d74b6d214dad7bb7c.tar.bz2
mpv-5189ea46965237450651ee1d74b6d214dad7bb7c.tar.xz
demux: reduce log level for cache index resizing
Now that I probably removed all bugs in this (?), this is uninteresting.
-rw-r--r--demux/demux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 01f15de496..e11db00ede 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -1605,8 +1605,8 @@ static void add_index_entry(struct demux_queue *queue, struct demux_packet *dp,
// Needs to honor power-of-2 requirement.
size_t new_size = MPMAX(128, queue->index_size * 2);
assert(!(new_size & (new_size - 1)));
- MP_VERBOSE(in, "stream %d: resize index to %zu\n", queue->ds->index,
- new_size);
+ MP_DBG(in, "stream %d: resize index to %zu\n", queue->ds->index,
+ new_size);
// Note: we could tolerate allocation failure, and just discard the
// entire index (and prevent the index from being recreated).
MP_RESIZE_ARRAY(NULL, queue->index, new_size);