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,7 +217,13 @@ static void demux_Handle( block_t *p_ts ) ...@@ -217,7 +217,13 @@ 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 ) )
SendSDT(); {
uint8_t *p_payload = block_GetPayload( p_ts );
if ( p_payload && *(p_payload + *p_payload + 1) == 0x42 )
SendSDT();
}
} }
else if ( b_enable_epg && i_pid == TDT_PID ) else if ( b_enable_epg && i_pid == TDT_PID )
{ {
......
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