vlc | branch: master | Steve Lhomme <[email protected]> | Wed Sep 26 10:53:02 2018 +0200| [39b5b61a83d7cf240315044267a56ccd90c2bfe4] | committer: Steve Lhomme
avformat:demux: fix copy-paste error CID #1439687 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39b5b61a83d7cf240315044267a56ccd90c2bfe4 --- modules/demux/avformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index a270110b64..92e324bf3f 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -831,7 +831,7 @@ static int Demux( demux_t *p_demux ) p_frame->i_pts = VLC_TICK_INVALID; else { - p_frame->i_pts = vlc_tick_from_frac( pkt.dts * p_stream->time_base.num, p_stream->time_base.den ) + p_frame->i_pts = vlc_tick_from_frac( pkt.pts * p_stream->time_base.num, p_stream->time_base.den ) - i_start_time + VLC_TICK_0; } if( pkt.duration > 0 && p_frame->i_length <= 0 ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
