[transcode] Lower log level of "will transcode" messages

This commit is contained in:
ejurgensen 2018-01-21 00:21:05 +01:00
parent cd96ec579a
commit 121b812c30

View File

@ -1307,21 +1307,21 @@ transcode_needed(const char *user_agent, const char *client_codecs, char *file_c
}
}
else
DPRINTF(E_DBG, L_XCODE, "Client advertises codecs: %s\n", client_codecs);
DPRINTF(E_SPAM, L_XCODE, "Client advertises codecs: %s\n", client_codecs);
if (!client_codecs)
{
DPRINTF(E_DBG, L_XCODE, "Could not identify client, using default codectype set\n");
DPRINTF(E_SPAM, L_XCODE, "Could not identify client, using default codectype set\n");
client_codecs = default_codecs;
}
if (strstr(client_codecs, file_codectype))
{
DPRINTF(E_DBG, L_XCODE, "Codectype supported by client, no decoding needed\n");
DPRINTF(E_SPAM, L_XCODE, "Codectype supported by client, no decoding needed\n");
return 0;
}
DPRINTF(E_DBG, L_XCODE, "Will decode\n");
DPRINTF(E_SPAM, L_XCODE, "Will decode\n");
return 1;
}