Increase size of detect buffer (#330)
See issue #329 : when a track starts after the first 16 MB in the m2ts, it is not detected. It is therefore proposed to increase the detect buffer (i.e. size of scanned chunk) to 64 MB.
This commit is contained in:
parent
20247206b8
commit
99e193c3bf
@ -39,7 +39,7 @@ class Process
|
||||
#define bswap_32(x) my_ntohl(x)
|
||||
//#define fabs(a) ((a)>=0?(a):-(a))
|
||||
|
||||
const static int DETECT_STREAM_BUFFER_SIZE = 1024 * 1024 * 16;
|
||||
const static int DETECT_STREAM_BUFFER_SIZE = 1024 * 1024 * 64;
|
||||
const static unsigned TS_PID_NULL = 8191;
|
||||
const static unsigned TS_PID_PAT = 0;
|
||||
const static unsigned TS_PID_PMT = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user