vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Sep 7 17:59:03 2018 +0200| [8660d84e72931aabf8aa630b06bf74c7a3ed5710] | committer: Francois Cartegnie
demux: ts: fix first dts comparison/pcr offset hack regression by a6e0acd6687fa33d727c8c95a9e76b9b0c4afe03 refs IMAX.Blue.Planet.ts > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8660d84e72931aabf8aa630b06bf74c7a3ed5710 --- 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 8a9afe89be..91beffd995 100644 --- a/modules/demux/mpeg/ts.c +++ b/modules/demux/mpeg/ts.c @@ -2398,7 +2398,7 @@ static void PCRFixHandle( demux_t *p_demux, ts_pmt_t *p_pmt, block_t *p_block ) return; } /* Record the first data packet timestamp in case there wont be any PCR */ - else if( !p_pmt->pcr.i_first_dts ) + else if( p_pmt->pcr.i_first_dts == TS_TICK_UNKNOWN ) { p_pmt->pcr.i_first_dts = TO_SCALE(p_block->i_dts); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
