filetype.py icon indicating copy to clipboard operation
filetype.py copied to clipboard

mkv/webm cleanup

Open CatKasha opened this issue 1 year ago • 0 comments

check EBML header first, then do find and limit find range to 64 bytes (i dont think EBML header can be that large)

also this pr fixes webm detection that created with GStreamer Matroska muxer / GStreamer matroskamux: DocType have webm\x00 so DocType size is different, ex. 0x42, 0x82, 0x85, 0x77, 0x65, 0x62, 0x6D, 0x00

CatKasha avatar Oct 13 '24 15:10 CatKasha