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

Francois Cartegnie git at videolan.org
Tue Dec 19 12:34:38 CET 2017


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 19 12:29:25 2017 +0100| [076cd43793642422ac19884cf4f58a10f5414750] | 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

(cherry picked from commit 4d903a5c7866cce20aee73959103cbe877baba69)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=076cd43793642422ac19884cf4f58a10f5414750
---

 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 d0451896c9..bb355b8a06 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2445,7 +2445,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