vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Feb 27 13:22:31 2016 +0100| [37a38b75a9b6b0c9604d72580170fc89f16d04a6] | committer: Francois Cartegnie
demux: ts: add missing ts wrap > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37a38b75a9b6b0c9604d72580170fc89f16d04a6 --- modules/demux/mpeg/ts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c index 6f9d73b..bd7a5b2 100644 --- a/modules/demux/mpeg/ts.c +++ b/modules/demux/mpeg/ts.c @@ -2124,6 +2124,9 @@ static void PCRCheckDTS( demux_t *p_demux, ts_pmt_t *p_pmt, mtime_t i_pcr) i_pts += p_pmt->pcr.i_pcroffset; } + i_dts = TimeStampWrapAround( i_pcr, i_dts ); + i_pts = TimeStampWrapAround( i_pcr, i_pts ); + if ((i_dts > 0 && i_dts <= i_pcr) || (i_pts > 0 && i_pts <= i_pcr)) { msg_Err( p_demux, "send queued data for pid %d: DTS %"PRId64" >= PCR %"PRId64"\n", p_pid->i_pid, i_dts, i_pcr); ParsePESDataChain( p_demux, p_pid ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
