From 4d903a5c7866cce20aee73959103cbe877baba69 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Tue, 19 Dec 2017 12:29:25 +0100 Subject: [PATCH] demux: ts: no discontinuity flag on AF discontinuity Things are more complex to implement refs: streams/ts/AF_time_discontinuity_early_on_pcr.ts --- modules/demux/mpeg/ts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c index eb3c51ad05..2f80f3d247 100644 --- a/modules/demux/mpeg/ts.c +++ b/modules/demux/mpeg/ts.c @@ -2456,7 +2456,8 @@ static block_t * ProcessTSPacket( demux_t *p_demux, ts_pid_t *pid, block_t *p_pk { msg_Warn( p_demux, "discontinuity indicator (pid=%d) ", pid->i_pid ); - p_pkt->i_flags |= BLOCK_FLAG_DISCONTINUITY; + /* ignore, that's not that simple 2.4.3.5 */ + //p_pkt->i_flags |= BLOCK_FLAG_DISCONTINUITY; } #if 0 if( p[5]&0x40 ) -- 2.11.4.GIT