summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2021-01-17 22:48:46 +0100
committerkbroulik <kde@privat.broulik.de>2021-02-13 18:16:44 +0000
commit103b3058353ee7ca2b154b2e3d26d12cd1de958d (patch)
tree4939574db1cbfd1c06bf83324ad5c317533f5a23
parent360139b7e402e3f36397cc869f8341e3e05d5dc8 (diff)
downloadshared-mime-info-103b3058353ee7ca2b154b2e3d26d12cd1de958d.tar.gz
Add Bink video type video/vnd.radgamettools.bink
Magic is inspired by ffmpeg's `probe` function in libavformat/bink.c
-rw-r--r--data/freedesktop.org.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 7a21ff42..781cd08e 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7616,4 +7616,29 @@ command to generate the output files.
<glob pattern="*.avifs"/>
<alias type="image/avif-sequence"/>
</mime-type>
+
+ <mime-type type="video/vnd.radgamettools.bink">
+ <comment>Bink Video</comment>
+ <magic priority="50">
+ <match type="string" value="BIK" offset="0">
+ <match type="string" value="b" offset="3"/>
+ <match type="string" value="f" offset="3"/>
+ <match type="string" value="g" offset="3"/>
+ <match type="string" value="h" offset="3"/>
+ <match type="string" value="i" offset="3"/>
+ </match>
+ <match type="string" value="KB2" offset="0">
+ <match type="string" value="a" offset="3"/>
+ <match type="string" value="d" offset="3"/>
+ <match type="string" value="f" offset="3"/>
+ <match type="string" value="g" offset="3"/>
+ <match type="string" value="h" offset="3"/>
+ <match type="string" value="i" offset="3"/>
+ <match type="string" value="j" offset="3"/>
+ <match type="string" value="k" offset="3"/>
+ </match>
+ </magic>
+ <glob pattern="*.bik"/>
+ <glob pattern="*.bk2"/>
+ </mime-type>
</mime-info>