Changes between Initial Version and Version 1 of Ticket #9621, comment 4
- Timestamp:
- Apr 5, 2013, 8:41:35 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9621, comment 4
initial v1 1 1 Our MPEG sniffer rule is broken, because it was just checking the first byte was a 'G', which was turned any text document starting with a G letter into a video media ;-) 2 2 3 Until we enhanced our sniffer parser to support a repeat pattern (here, checking a 'G' every 188 bytes for the first 100 times can assert at 80% that's a MPEG file...), we rely only on the extension suffix.3 Until we enhanced our sniffer parser to support a repeat pattern (here, checking a 'G' every 188 bytes for the first 100 times can assert at >90% that's a MPEG file...), we rely only on the extension suffix. 4 4 5 5 It's why when you suffix your files they are *only then* identified as video ones.