vlc | branch: master | Steve Lhomme <[email protected]> | Sat May 12 14:53:55 2018 +0200| [5b9dd8fbc12bf9200a2d459e1cf5d57c99dff25b] | committer: Steve Lhomme
demux:mpeg: use VLC_TICK_FROM_MS > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b9dd8fbc12bf9200a2d459e1cf5d57c99dff25b --- modules/demux/mpeg/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/mpeg/ps.c b/modules/demux/mpeg/ps.c index eee0091553..1bce536c89 100644 --- a/modules/demux/mpeg/ps.c +++ b/modules/demux/mpeg/ps.c @@ -630,7 +630,7 @@ static int Demux( demux_t *p_demux ) { /* Teletext may have missing PTS (ETSI EN 300 472 Annexe A) * In this case use the last SCR + 40ms */ - p_pkt->i_pts = VLC_TICK_0 + p_sys->i_scr + 40000; + p_pkt->i_pts = VLC_TICK_0 + p_sys->i_scr + VLC_TICK_FROM_MS(40); } if( (int64_t)p_pkt->i_pts > p_sys->i_current_pts ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
