Commit 0d443643 authored by Christophe Massiot's avatar Christophe Massiot

* demux.c: do not erase EIT last_table_id, patch by Andy Gatward.

parent 2170fc81
...@@ -735,7 +735,6 @@ static void SendEIT( dvbpsi_psi_section_t *p_section, uint16_t i_sid, ...@@ -735,7 +735,6 @@ static void SendEIT( dvbpsi_psi_section_t *p_section, uint16_t i_sid,
{ {
p_section->p_data[8] = (i_sid >> 8) & 0xff; p_section->p_data[8] = (i_sid >> 8) & 0xff;
p_section->p_data[9] = i_sid & 0xff; p_section->p_data[9] = i_sid & 0xff;
p_section->p_data[13] = pp_outputs[i]->i_eit_last_table_id;
dvbpsi_BuildPSISection( p_section ); dvbpsi_BuildPSISection( p_section );
block_t *p_block; block_t *p_block;
......
...@@ -67,7 +67,7 @@ typedef struct output_t ...@@ -67,7 +67,7 @@ typedef struct output_t
uint8_t i_pmt_version, i_pmt_cc; uint8_t i_pmt_version, i_pmt_cc;
dvbpsi_psi_section_t *p_sdt_section; dvbpsi_psi_section_t *p_sdt_section;
uint8_t i_sdt_cc; uint8_t i_sdt_cc;
uint8_t i_eit_cc, i_eit_last_table_id; uint8_t i_eit_cc;
/* configuration */ /* configuration */
uint16_t i_sid; /* 0 if raw mode */ uint16_t i_sid; /* 0 if raw mode */
......
...@@ -96,7 +96,6 @@ int output_Init( output_t *p_output, in_addr_t i_maddr, uint16_t i_port ) ...@@ -96,7 +96,6 @@ int output_Init( output_t *p_output, in_addr_t i_maddr, uint16_t i_port )
p_output->p_sdt_section = NULL; p_output->p_sdt_section = NULL;
p_output->i_ref_timestamp = 0; p_output->i_ref_timestamp = 0;
p_output->i_ref_wallclock = mdate(); p_output->i_ref_wallclock = mdate();
p_output->i_eit_last_table_id = 0;
p_output->i_maddr = i_maddr; p_output->i_maddr = i_maddr;
p_output->i_port = i_port; p_output->i_port = i_port;
......
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