Commit ba01cecb authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: add defines for TDT/TOT table id

parent 4eb6f4b0
......@@ -557,7 +557,7 @@ static void PSINewTableCallBack( dvbpsi_t *h, uint8_t i_table_id,
msg_Err( p_demux, "PSINewTableCallback: failed attaching EITCallback" );
}
else if( GetPID(p_sys, 0x11)->u.p_psi->i_version != -1 &&
(i_table_id == 0x70 /* TDT */ || i_table_id == 0x73 /* TOT */) )
(i_table_id == TS_PSI_TDT_TABLE_ID || i_table_id == TS_PSI_TOT_TABLE_ID) )
{
msg_Dbg( p_demux, "PSINewTableCallBack: table 0x%x(%d) ext=0x%x(%d)",
i_table_id, i_table_id, i_extension, i_extension );
......
......@@ -21,6 +21,9 @@
//#define PSI_DEBUG_EIT
#define TS_PSI_TDT_TABLE_ID 0x70
#define TS_PSI_TOT_TABLE_ID 0x73
#define TS_PSI_RUNSTATUS_UNDEFINED 0x00
#define TS_PSI_RUNSTATUS_STOPPED 0x01
#define TS_PSI_RUNSTATUS_STARTING 0x02
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment