[vlc-commits] demux: ts: no discontinuity flag on AF discontinuity

Francois Cartegnie git at videolan.org
Tue Dec 19 12:33:58 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 19 12:29:25 2017 +0100| [4d903a5c7866cce20aee73959103cbe877baba69] | committer: Francois Cartegnie

demux: ts: no discontinuity flag on AF discontinuity

Things are more complex to implement
refs:
streams/ts/AF_time_discontinuity_early_on_pcr.ts

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d903a5c7866cce20aee73959103cbe877baba69
---

 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 )



More information about the vlc-commits mailing list