Package: shared-mime-info / 0.71-4

151_webm.patch Patch series | download
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
From 354a3110ae8c3eba7494cd6ba468ffeb41211c83 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Thu, 20 May 2010 16:22:06 +0000
Subject: Add WebM mime-type

with magic and test file.
---
Index: b/freedesktop.org.xml.in
===================================================================
--- a/freedesktop.org.xml.in	2010-05-29 10:53:13.101783952 +0200
+++ b/freedesktop.org.xml.in	2010-05-29 10:53:13.341789467 +0200
@@ -2152,6 +2152,13 @@
     <glob pattern="*.mka"/>
     <sub-class-of type="application/x-matroska"/>
   </mime-type>
+  <mime-type type="video/webm">
+    <_comment>WebM video</_comment>
+    <glob pattern="*.webm"/>
+    <magic priority="50">
+      <match type="string" value="webm" offset="8"/>
+    </magic>
+  </mime-type>
   <mime-type type="application/mxf">
     <_comment>MXF video</_comment>
     <acronym>MXF</acronym>