mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
Reduce verbosity if demuxer sets an info value to the same as the current value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29676 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b2b8779831
commit
22986e51c1
@ -1144,6 +1144,10 @@ int demux_info_add(demuxer_t *demuxer, const char *opt, const char *param)
|
||||
|
||||
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]);
|
||||
|
Loading…
Reference in New Issue
Block a user