[vlc-commits] demux: ts: flag discontinuity on explicit discontinuity

Francois Cartegnie git at videolan.org
Thu Apr 27 19:48:28 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 27 19:39:40 2017 +0200| [0cfaf2d85e400fd0386994f34a14779c9732d21c] | committer: Francois Cartegnie

demux: ts: flag discontinuity on explicit discontinuity

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

 modules/demux/mpeg/ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 67526c2c06..7fea982ec8 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2410,7 +2410,7 @@ 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 );
-                /* pid->es->p_data->i_flags |= BLOCK_FLAG_DISCONTINUITY; */
+                p_pkt->i_flags |= BLOCK_FLAG_DISCONTINUITY;
             }
 #if 0
             if( p[5]&0x40 )



More information about the vlc-commits mailing list