vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Apr 17 
15:26:46 2017 +0200| [916f53d27b6395e63e6da68f90e30931710464a9] | committer: 
Francois Cartegnie

demux: ts: add missing cc storage on notified discontinuity

Was causing the block holding the dis flag to be flushed/dropped
on next packet due to implicit discontinuity.

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

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

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index ec44308b29..735362c6e3 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2460,6 +2460,7 @@ static block_t * ProcessTSPacket( demux_t *p_demux, 
ts_pid_t *pid, block_t *p_pk
             pid->i_dup = 0;
             p_pkt->i_flags |= BLOCK_FLAG_DISCONTINUITY;
         }
+        else pid->i_cc = i_cc;
     }
 
     if( unlikely(!(b_payload || b_adaptation)) ) /* Invalid, ignore */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to