Commit 2e635703 authored by Rafaël Carré's avatar Rafaël Carré

TS demux: fix DVB program selection

If the first program of the PAT has no PMT or no ES, we will get stuck forever.
Return from demux probe immediately, to let user select the desired program later.

For example on Astra S19.2E:
dvb:// --dvb-frequency 12551500 --dvb-polarization V --dvb-srate 22000000 --dvb-fec 5/6
parent 26933860
......@@ -1193,11 +1193,6 @@ static int Open( vlc_object_t *p_this )
if( p_sys->i_pmt_es == 0 && !p_sys->pid[0].b_seen )
MissingPATPMTFixup( p_demux );
while( p_sys->i_pmt_es <= 0 )
{
if( Demux( p_demux ) != 1 )
break;
}
return VLC_SUCCESS;
}
......
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