Postby Peter » 11 Jul 2005 12:41
The bug is in modules/access/udp.c, where the function BlockChoose() incorrectly overwrites demux type and therefore ignores command-line :demux=dump option
switch( i_payload_type )
{
case 33:
msg_Dbg( p_access, "detected TS over RTP" );
p_access->psz_demux = strdup( "ts" );
break;
case 14:
msg_Dbg( p_access, "detected MPEG audio over RTP" );
p_access->psz_demux = strdup( "mpga" );
break;
case 32:
msg_Dbg( p_access, "detected MPEG video over RTP" );
p_access->psz_demux = strdup( "mpgv" );
break;
default:
msg_Dbg( p_access, "no RTP header detected" );
p_access->pf_block = BlockUDP;
return p_block;
}