Commit 5fb957cf authored by Christophe Massiot's avatar Christophe Massiot

* demux.c: Correctly handle SDT on configuration changes.

parent 80db72f8
......@@ -135,6 +135,17 @@ void demux_Open( void )
}
}
/*****************************************************************************
* demux_Hup
*****************************************************************************/
void demux_Hup( void )
{
if( b_enable_epg )
{
p_sdt_dvbpsi_handle->b_discontinuity = 1;
}
}
/*****************************************************************************
* demux_Run
*****************************************************************************/
......
......@@ -362,6 +362,7 @@ int main( int i_argc, char **pp_argv )
b_hup_received = 0;
msg_Warn( NULL, "HUP received, reloading" );
ReadConfiguration( psz_conf_file );
demux_Hup();
}
demux_Run();
......
......@@ -119,6 +119,7 @@ uint8_t dvb_FrontendStatus( uint8_t *p_answer, ssize_t *pi_size );
void demux_Open( void );
void demux_Run( void );
void demux_Hup( void );
void demux_Change( output_t *p_output, uint16_t i_sid,
uint16_t *pi_pids, int i_nb_pids );
void demux_ResendCAPMTs( void );
......
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