mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-10 05:08:11 -05:00
[transcode] Lower log level of "will transcode" messages
This commit is contained in:
parent
cd96ec579a
commit
121b812c30
@ -1307,21 +1307,21 @@ transcode_needed(const char *user_agent, const char *client_codecs, char *file_c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
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)
|
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;
|
client_codecs = default_codecs;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(client_codecs, file_codectype))
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINTF(E_DBG, L_XCODE, "Will decode\n");
|
DPRINTF(E_SPAM, L_XCODE, "Will decode\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user