aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP
diff options
context:
space:
mode:
authormossywell <mark@mossywell.com>2014-03-28 07:26:49 +0000
committermontellese <montellese@xbmc.org>2014-05-17 09:53:15 +0200
commitc7dc8e23d0646200424179c16ccac2961df8da86 (patch)
treecec30f70d6423e2fb04ccd65dc01b8c3223a57ac /lib/libUPnP
parentf9eff4bb16d36222c265681576707407627cf161 (diff)
platinum: Add audio/x-flac MIME type to Neptune
Change streaming FLAC MIME type from application/octet to audio/x-flac to support Frontier Silicon systems (such as the Axis X3) that require this. (Others don't care.) FLAC not added to DefaultDlnaMap as * suffices. (Commit amend: tabs --> spaces) (Commit amend: flac --> x-flac)
Diffstat (limited to 'lib/libUPnP')
-rw-r--r--lib/libUPnP/Neptune/Source/Core/NptHttp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
index 1700afca69..8c5d587ff1 100644
--- a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
+++ b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
@@ -2779,6 +2779,7 @@ NPT_HttpFileRequestHandler_DefaultFileTypeMap[] = {
{"aif", "audio/x-aiff"},
{"aifc", "audio/x-aiff"},
{"aiff", "audio/x-aiff"},
+ {"flac", "audio/x-flac"},
{"mka", "audio/x-matroska"},
{"mpa", "audio/mpeg"},
{"mp2", "audio/mpeg"},