summaryrefslogtreecommitdiffstats
path: root/lib/libUPnP/patches/0006-platinum-report-and-support-proper-mimetypes-for-mat.patch
blob: 2817b27f9180183577f2cda4e792ed20ecc50b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 0b4a39723d3476c8a279a787660065ac1a64767a Mon Sep 17 00:00:00 2001
From: Joakim Plate <elupus@ecce.se>
Date: Tue, 25 Sep 2012 23:32:48 +0200
Subject: [PATCH 06/24] platinum: report and support proper mimetypes for
 matroska

---
 lib/libUPnP/Neptune/Source/Core/NptHttp.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
index 132746a..1700afc 100644
--- a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
+++ b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
@@ -2799,12 +2799,14 @@ NPT_HttpFileRequestHandler_DefaultFileTypeMap[] = {
     {"aif",  "audio/x-aiff"},
     {"aifc", "audio/x-aiff"},
     {"aiff", "audio/x-aiff"},
+    {"mka",  "audio/x-matroska"},
     {"mpa",  "audio/mpeg"},
     {"mp2",  "audio/mpeg"},
     {"mp3",  "audio/mpeg"},
     {"m4a",  "audio/mp4"},
     {"wma",  "audio/x-ms-wma"},
     {"wav",  "audio/x-wav"},
+    {"mkv",  "video/x-matroska"},
     {"mpeg", "video/mpeg"},
     {"mpg",  "video/mpeg"},
     {"mp4",  "video/mp4"},
@@ -2817,6 +2819,7 @@ NPT_HttpFileRequestHandler_DefaultFileTypeMap[] = {
     {"wtv",  "video/x-ms-wmv"},
     {"asf",  "video/x-ms-asf"},
     {"mkv",  "video/x-matroska"},
+    {"mk3d", "video/x-matroska-3d"},
     {"flv",  "video/x-flv"},
     {"avi",  "video/x-msvideo"},
     {"divx", "video/x-msvideo"},
-- 
1.7.11.msysgit.0