matroska mime: detect with four first bytes.

This commit is contained in:
Jérôme Duval 2012-03-14 23:48:40 +01:00
parent 6728eddfa4
commit 46ebe27f98
2 changed files with 2 additions and 4 deletions

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "audio/x-matroska";
// TODO: check this
// resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3934282886D6174726F736B61428781014285810118538067)";
resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3)";
resource(3, "META:S:DESC") #'MSDC' "Matroska Audio";

View File

@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "video/x-matroska";
// TODO: check this
//resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3934282886D6174726F736B61428781014285810118538067)";
resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3)";
resource(3, "META:S:DESC") #'MSDC' "Matroska Video";