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

demux: ts: rename SI file

parent 3253373b
......@@ -235,7 +235,7 @@ demux_LTLIBRARIES += libplaylist_plugin.la
libts_plugin_la_SOURCES = demux/mpeg/ts.c demux/mpeg/ts.h \
demux/mpeg/ts_pid.h demux/mpeg/ts_pid_fwd.h demux/mpeg/ts_pid.c \
demux/mpeg/ts_psi.h demux/mpeg/ts_psi.c \
demux/mpeg/ts_psi_eit.h demux/mpeg/ts_psi_eit.c \
demux/mpeg/ts_si.h demux/mpeg/ts_si.c \
demux/mpeg/ts_psip.h demux/mpeg/ts_psip.c \
demux/mpeg/ts_psip_dvbpsi_fixes.h demux/mpeg/ts_psip_dvbpsi_fixes.c \
demux/mpeg/ts_decoders.h demux/mpeg/ts_decoders.c \
......
......@@ -39,7 +39,7 @@
#include "ts_streams.h"
#include "ts_streams_private.h"
#include "ts_psi.h"
#include "ts_psi_eit.h"
#include "ts_si.h"
#include "ts_psip.h"
#include "ts_hotfixes.h"
......
......@@ -50,7 +50,7 @@
#include "ts_sl.h"
#include "ts_scte.h"
#include "ts_psip.h"
#include "ts_psi_eit.h"
#include "ts_si.h"
#include "../access/dtv/en50221_capmt.h"
......
......@@ -36,7 +36,7 @@
#include <dvbpsi/tot.h> /* TDT support */
#include <dvbpsi/dr.h>
#include "ts_psi_eit.h"
#include "ts_si.h"
#include "ts_pid.h"
#include "ts_streams_private.h"
......@@ -50,11 +50,11 @@
#include <time.h>
#include <assert.h>
#ifndef PSI_DEBUG_EIT
#define PSI_DEBUG_TIMESHIFT(t)
#ifndef SI_DEBUG_EIT
#define SI_DEBUG_TIMESHIFT(t)
#else
static time_t i_eit_debug_offset = 0;
#define PSI_DEBUG_TIMESHIFT(t) \
#define SI_DEBUG_TIMESHIFT(t) \
do {\
if( i_eit_debug_offset == 0 )\
i_eit_debug_offset = time(NULL) - t;\
......@@ -395,7 +395,7 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
int i_min_age = 0;
i_start = EITConvertStartTime( p_evt->i_start_time );
PSI_DEBUG_TIMESHIFT(i_start);
SI_DEBUG_TIMESHIFT(i_start);
i_duration = EITConvertDuration( p_evt->i_duration );
/* We have to fix ARIB-B10 as all timestamps are JST */
......
......@@ -21,7 +21,7 @@
#include "ts_pid_fwd.h"
//#define PSI_DEBUG_EIT
//#define SI_DEBUG_EIT
#define TS_SI_SDT_PID 0x11
#define TS_SI_EIT_PID 0x12
......
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