From fee84c8b69556114a53b81d31e4cccd38ff30fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 7 Nov 2010 19:41:41 +0000 Subject: [PATCH] It seems 0x47 is the only byte we can trust to sniff mpeg transport stream, not enough to clearly identify. Added ts as extension. This type of file isn't very well supported by our ffmpeg plugin atm (works well in VLC). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39349 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/data/beos_mime/video/mp2t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/data/beos_mime/video/mp2t b/src/data/beos_mime/video/mp2t index 1f71ea02cc..b42f69553b 100644 --- a/src/data/beos_mime/video/mp2t +++ b/src/data/beos_mime/video/mp2t @@ -3,7 +3,11 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "video/mp2t"; -resource(2, "META:SNIFF_RULE") "0.50 (0x4700a3)"; +resource(2, "META:SNIFF_RULE") "0.30 (0x47)"; resource(3, "META:S:DESC") #'MSDC' "MPEG-2 Transport Stream"; +resource(4, "META:EXTENS") message(234) { + "extensions" = "ts", + "type" = "video/mp2t" +};