diff options
author | Sam Thursfield <ssssam@gmail.com> | 2012-02-01 16:11:13 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-02-01 16:11:13 +0000 |
commit | 202ab90c74db47812818f0ccc490a2da9efe752b (patch) | |
tree | 307d20c262adf141a70fc566ddbb4e4113e97ec9 | |
parent | 03152345223520932956f812451e9ea0c1ccdb36 (diff) | |
download | shared-mime-info-202ab90c74db47812818f0ccc490a2da9efe752b.tar.gz |
Add DTS and DTS-HD mime-types
https://bugs.freedesktop.org/show_bug.cgi?id=40800
-rw-r--r-- | freedesktop.org.xml.in | 20 | ||||
-rw-r--r-- | tests/list | 3 | ||||
-rw-r--r-- | tests/test.dts | bin | 0 -> 10240 bytes | |||
-rw-r--r-- | tests/test.dtshd | bin | 0 -> 2048 bytes |
4 files changed, 23 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 7e900b6f..a97eb962 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3317,6 +3317,26 @@ command to generate the output files. </magic> <glob pattern="*.ac3"/> </mime-type> + <mime-type type="audio/vnd.dts"> + <_comment>DTS audio</_comment> + <magic priority="50"> + <match type="big32" value="0x7FFE8001" offset="0"/> <!-- 16bits core be --> + <match type="little32" value="0xFE7F0180" offset="0"/> <!-- 16bits core le --> + <match type="big32" value="0x1FFFE800" offset="0"/> <!-- 14bits core be --> + <match type="little32" value="0xFF1F00E8" offset="0"/> <!-- 14bits core le --> + </magic> + <alias type="audio/x-dts"/> + <glob pattern="*.dts"/> + </mime-type> + <mime-type type="audio/vnd.dts.hd"> + <_comment>DTSHD audio</_comment> + <sub-class-of type="audio/vnd.dts"/> + <magic priority="60"> + <match type="big32" value="0x64582025" offset="0:18725"/> <!-- 16bits HD be --> + </magic> + <alias type="audio/x-dtshd"/> + <glob pattern="*.dtshd"/> + </mime-type> <mime-type type="audio/AMR"> <_comment>AMR audio</_comment> <acronym>AMR</acronym> @@ -165,6 +165,9 @@ live-streaming.m3u application/vnd.apple.mpegurl x all_w.m3u8 application/vnd.apple.mpegurl x # Copied from http://bugs.freedesktop.org/show_bug.cgi?id=42922 test.vsd application/vnd.visio ox +# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=40800 +test.dts audio/vnd.dts +test.dtshd audio/vnd.dts.hd # text text-iso8859-15.txt text/plain diff --git a/tests/test.dts b/tests/test.dts Binary files differnew file mode 100644 index 00000000..0d058b99 --- /dev/null +++ b/tests/test.dts diff --git a/tests/test.dtshd b/tests/test.dtshd Binary files differnew file mode 100644 index 00000000..39d16086 --- /dev/null +++ b/tests/test.dtshd |