Add supported codec list for Front Row and QuickTime
Patch from Ace Jones <ace.jones1@yahoo.com>.
This commit is contained in:
parent
38c502cb7e
commit
df2cbea9b2
|
@ -540,6 +540,18 @@ transcode_needed(struct evkeyvalq *headers, char *file_codectype)
|
||||||
{
|
{
|
||||||
DPRINTF(E_DBG, L_XCODE, "Client is iTunes\n");
|
DPRINTF(E_DBG, L_XCODE, "Client is iTunes\n");
|
||||||
|
|
||||||
|
client_codecs = itunes_codecs;
|
||||||
|
}
|
||||||
|
else if (strncmp(user_agent, "QuickTime", strlen("QuickTime")) == 0)
|
||||||
|
{
|
||||||
|
DPRINTF(E_DBG, L_XCODE, "Client is QuickTime, using iTunes codecs\n");
|
||||||
|
|
||||||
|
client_codecs = itunes_codecs;
|
||||||
|
}
|
||||||
|
else if (strncmp(user_agent, "Front%20Row", strlen("Front%20Row")) == 0)
|
||||||
|
{
|
||||||
|
DPRINTF(E_DBG, L_XCODE, "Client is Front Row, using iTunes codecs\n");
|
||||||
|
|
||||||
client_codecs = itunes_codecs;
|
client_codecs = itunes_codecs;
|
||||||
}
|
}
|
||||||
else if (strncmp(user_agent, "Roku", strlen("Roku")) == 0)
|
else if (strncmp(user_agent, "Roku", strlen("Roku")) == 0)
|
||||||
|
|
Loading…
Reference in New Issue