Increase ProbeSize up to 5MB

This commit is contained in:
Alex X
2023-11-04 15:14:23 +03:00
parent e42085a237
commit f4fe8c3769
+3 -1
View File
@@ -5,7 +5,9 @@ import (
"io" "io"
) )
const ProbeSize = 1024 * 1024 // 1MB // ProbeSize
// in my tests MPEG-TS 40Mbit/s 4K-video require more than 1MB for probe
const ProbeSize = 5 * 1024 * 1024 // 5MB
const ( const (
BufferDisable = 0 BufferDisable = 0