Commit 86ca39d5 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: create missing dvb subs (refs #5267)

parent 1e0f167c
......@@ -1540,8 +1540,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
(p_dr->p_data[0] << 8) | p_dr->p_data[1] );
}
const bool b_create_es = ((p_pes->p_es->fmt.i_cat == VIDEO_ES) ||
(p_pes->p_es->fmt.i_cat == AUDIO_ES));
const bool b_create_es = (p_pes->p_es->fmt.i_cat != UNKNOWN_ES);
/* Now check and merge */
if( b_pid_inuse ) /* We need to compare to the existing pes/es */
......
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