Mercurial > mplayer.hg
changeset 29634:342a78c13eeb
Reduce verbosity if demuxer sets an info value to the same as the current value.
author | reimar |
---|---|
date | Mon, 14 Sep 2009 08:29:18 +0000 |
parents | 9f0eb4812a07 |
children | c7d88fcfd784 |
files | libmpdemux/demuxer.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Sun Sep 13 01:49:40 2009 +0000 +++ b/libmpdemux/demuxer.c Mon Sep 14 08:29:18 2009 +0000 @@ -1144,6 +1144,10 @@ for (n = 0; info && info[2 * n] != NULL; n++) { if (!strcasecmp(opt, info[2 * n])) { + if (!strcmp(param, info[2 * n + 1])) { + mp_msg(MSGT_DEMUX, MSGL_V, "Demuxer info %s set to unchanged value %s\n", opt, param); + return 0; + } mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_DemuxerInfoChanged, opt, param); free(info[2 * n + 1]);