Don't transcode alac to iTunes clients

This commit is contained in:
Ron Pedde 2006-06-12 06:11:34 +00:00
parent fc0cea1d49
commit d05c9ad5c2

View File

@ -589,7 +589,7 @@ int plugin_ssc_should_transcode(WS_CONNINFO *pwsc, char *codec) {
if(!native_codecs) {
user_agent = ws_getrequestheader(pwsc,"user-agent");
if(strncmp(user_agent,"iTunes",6)==0) {
native_codecs = "mpeg,mp4a,wav,mp4v";
native_codecs = "mpeg,mp4a,wav,mp4v,alac";
} else if(strncmp(user_agent,"Roku",4)==0) {
native_codecs = "mpeg,mp4a,wav";
}