Commit 75f187a3 authored by Marian Ďurkovič's avatar Marian Ďurkovič Committed by Christophe Massiot

Sync sending of SDT packets to table ID 0x42 (SDT for actual TS)

parent 4b814975
...@@ -217,8 +217,14 @@ static void demux_Handle( block_t *p_ts ) ...@@ -217,8 +217,14 @@ static void demux_Handle( block_t *p_ts )
{ {
dvbpsi_PushPacket( p_sdt_dvbpsi_handle, p_ts->p_ts ); dvbpsi_PushPacket( p_sdt_dvbpsi_handle, p_ts->p_ts );
if ( block_UnitStart( p_ts ) ) if ( block_UnitStart( p_ts ) )
{
uint8_t *p_payload = block_GetPayload( p_ts );
if ( p_payload && *(p_payload + *p_payload + 1) == 0x42 )
SendSDT(); SendSDT();
} }
}
else if ( b_enable_epg && i_pid == TDT_PID ) else if ( b_enable_epg && i_pid == TDT_PID )
{ {
for ( i = 0; i < i_nb_outputs; i++ ) for ( i = 0; i < i_nb_outputs; i++ )
......
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