vlc | branch: master | Rafaël Carré <[email protected]> | Wed Feb 11 22:38:28 2015 +0100| [2e635703c7f24df5ae8a8944bb5fa2bdf4d47521] | committer: 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 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e635703c7f24df5ae8a8944bb5fa2bdf4d47521 --- modules/demux/ts.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/demux/ts.c b/modules/demux/ts.c index fdc2093..35aa6f7 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -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; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
