From 74d4073771cf9421b400189d240532663e98f239 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Aug 2016 12:10:55 +0200 Subject: demux: demote packet queue overflow to a warning It doesn't necessarily have to mean anything bad. We're still too lazy to provide any more detailed information (e.g. whether this happened to likely bad interleaving, excessive amount of packets like with some ASS subs, or that the readahead user option is limitted by the packet queue size). --- demux/demux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demux') diff --git a/demux/demux.c b/demux/demux.c index 0c42efee92..69e66990ff 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -580,12 +580,12 @@ static bool read_packet(struct demux_internal *in) if (packs >= in->max_packs || bytes >= in->max_bytes) { if (!in->warned_queue_overflow) { in->warned_queue_overflow = true; - MP_ERR(in, "Too many packets in the demuxer packet queues:\n"); + MP_WARN(in, "Too many packets in the demuxer packet queues:\n"); for (int n = 0; n < in->num_streams; n++) { struct demux_stream *ds = in->streams[n]->ds; if (ds->selected) { - MP_ERR(in, " %s/%d: %zd packets, %zd bytes\n", - stream_type_name(ds->type), n, ds->packs, ds->bytes); + MP_WARN(in, " %s/%d: %zd packets, %zd bytes\n", + stream_type_name(ds->type), n, ds->packs, ds->bytes); } } } -- cgit v1.2.3