From df2cbea9b2ea6f4347a085ed22b90ebfd4e8838b Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Tue, 8 Dec 2009 20:45:57 +0100 Subject: [PATCH] Add supported codec list for Front Row and QuickTime Patch from Ace Jones . --- src/transcode.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/transcode.c b/src/transcode.c index 9cba60ee..3568d7e1 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -540,6 +540,18 @@ transcode_needed(struct evkeyvalq *headers, char *file_codectype) { 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; } else if (strncmp(user_agent, "Roku", strlen("Roku")) == 0)