[haiku-commits] r39349 - haiku/trunk/src/data/beos_mime/video

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 7 Nov 2010 20:41:41 +0100 (CET)

Author: korli
Date: 2010-11-07 20:41:41 +0100 (Sun, 07 Nov 2010)
New Revision: 39349
Changeset: http://dev.haiku-os.org/changeset/39349

Modified:
   haiku/trunk/src/data/beos_mime/video/mp2t
Log:
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).


Modified: haiku/trunk/src/data/beos_mime/video/mp2t
===================================================================
--- haiku/trunk/src/data/beos_mime/video/mp2t   2010-11-07 19:37:49 UTC (rev 
39348)
+++ haiku/trunk/src/data/beos_mime/video/mp2t   2010-11-07 19:41:41 UTC (rev 
39349)
@@ -3,7 +3,11 @@
 
 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"
+};


Other related posts:

  • » [haiku-commits] r39349 - haiku/trunk/src/data/beos_mime/video - korli