-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlogging.h
More file actions
36 lines (27 loc) · 1.34 KB
/
logging.h
File metadata and controls
36 lines (27 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* debug option */
#define DEBUG_PIDS
#define DEBUG_TUNE_EXTRA
#define DEBUG_TUNE
#define DEBUG_RESOURCES
#define DEBUG_FILTER
#define DEBUG_PIDS_ADD_DEL
#define DEBUG_TUNE_PC
#define DEBUG_BIT_PIDS 0x01
#define DEBUG_BIT_TUNE_EXTRA 0x02
#define DEBUG_BIT_TUNE 0x04
#define DEBUG_BIT_RESOURCES 0x08
#define DEBUG_BIT_PIDS_ADD_DEL 0x10
#define DEBUG_BIT_TUNE_PC 0x40 // ProvideChannel
#define DEBUG_BIT_FILTER 0x80
#define DEBUG_BIT_SIGNAL 0x100 // mcli::handle_ten
// hidden test options
#define DEBUG_BIT_Action_RetuneOnFirstTuner 0x1000 // retune if the first tuner is found (cPluginMcli::Action)
#define DEBUG_BIT_recv_ts_func_NO_LOGRATELIMIT 0x2000 // disable rate limiter Mcli::recv_ts_func
#define DEBUG_BIT_Action_SkipTriggerCam 0x4000 // skip trigger CAM initialization, even if the first tuning is for a FTA program (cMcliDevice)
#define DEBUG_MASK(bit, code) if ((m_debugmask & bit) != 0) { code };
extern int m_debugmask;
/* Log skip option */
#define LOGSKIP_BIT_recv_ts_func_pid_Data 0x01 // skip log of issues with Data pids (16-18) like Mcli::recv_ts_func: Discontinuity on receiver 0x559f735c7e00 for pid 18: 5->7 at pos 0/7
#define LOGSKIP_BIT_SetChannelDevice_Reject 0x02 // skip log of Mcli::SetChannelDevice: Reject tuning on DVB
#define LOGSKIP_MASK(bit, code) if ((m_logskipmask & bit) == 0) { code };
extern int m_logskipmask;