Commit 23b78e66 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: ts: don't update last pts with dvb

regression from growing files
parent cd95f0e5
......@@ -2156,7 +2156,8 @@ static void ProgramSetPCR( demux_t *p_demux, ts_pmt_t *p_pmt, mtime_t i_pcr )
{
es_out_Control( p_demux->out, ES_OUT_SET_GROUP_PCR, p_pmt->i_number, FROM_SCALE(i_pcr) );
/* growing files/named fifo handling */
if( vlc_stream_Tell( p_sys->stream ) > p_pmt->i_last_dts_byte )
if( p_sys->b_access_control == false &&
vlc_stream_Tell( p_sys->stream ) > p_pmt->i_last_dts_byte )
{
p_pmt->i_last_dts = i_pcr;
p_pmt->i_last_dts_byte = vlc_stream_Tell( p_sys->stream );
......
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