From 48dcd63bc16535d1f52fffbd84eaab5bc1c0576c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 18 Sep 2011 00:26:08 +0200 Subject: [PATCH] Only probe 4 MB again (20 MB is really slow if types are not found) --- src/input/r_mpeg_ts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/r_mpeg_ts.cpp b/src/input/r_mpeg_ts.cpp index 39bd02475..287d6dc80 100644 --- a/src/input/r_mpeg_ts.cpp +++ b/src/input/r_mpeg_ts.cpp @@ -36,7 +36,7 @@ #define TS_CONSECUTIVE_PACKETS 16 #define TS_PROBE_SIZE (2 * TS_CONSECUTIVE_PACKETS * 204) -#define TS_PIDS_DETECT_SIZE 20 * 1024 * 1024 +#define TS_PIDS_DETECT_SIZE 4 * 1024 * 1024 #define TS_PACKET_SIZE 188 #define GET_PID(p) (((static_cast(p->pid_msb) << 8) | p->pid_lsb) & 0x1FFF)