Browse Source

demux: ts: set filter only after pcr repicking

pull/43/head
Francois Cartegnie 11 years ago
parent
commit
b42a03ff21
  1. 4
      modules/demux/mpeg/ts_psi.c

4
modules/demux/mpeg/ts_psi.c

@ -1700,8 +1700,6 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
PIDRelease( p_demux, pid_to_decref.p_elems[i] );
ARRAY_RESET( pid_to_decref );
UpdatePESFilters( p_demux, p_sys->b_es_all );
if( !p_sys->b_trust_pcr )
{
int i_cand = FindPCRCandidate( p_pmt );
@ -1711,6 +1709,8 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
p_pmt->i_number, i_cand );
}
UpdatePESFilters( p_demux, p_sys->b_es_all );
/* Probe Boundaries */
if( p_sys->b_canfastseek && p_pmt->i_last_dts == -1 )
{

Loading…
Cancel
Save