vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Feb 27 22:12:25 2016 +0100| [ba01cecb2743381b0542a38ada633b1812fc45ff] | committer: Francois Cartegnie
demux: ts: add defines for TDT/TOT table id > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba01cecb2743381b0542a38ada633b1812fc45ff --- modules/demux/mpeg/ts_psi_eit.c | 2 +- modules/demux/mpeg/ts_psi_eit.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/demux/mpeg/ts_psi_eit.c b/modules/demux/mpeg/ts_psi_eit.c index 7f1128d..cae9928 100644 --- a/modules/demux/mpeg/ts_psi_eit.c +++ b/modules/demux/mpeg/ts_psi_eit.c @@ -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 ); diff --git a/modules/demux/mpeg/ts_psi_eit.h b/modules/demux/mpeg/ts_psi_eit.h index 864f4c2..d786549 100644 --- a/modules/demux/mpeg/ts_psi_eit.h +++ b/modules/demux/mpeg/ts_psi_eit.h @@ -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 _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
