Commit d752e518 authored by md's avatar md

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


git-svn-id: svn://svn.videolan.org/dvblast/trunk@142 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent e0a60e29
...@@ -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