[vlc-commits] MKV: no need to add VLC_TS_0 here, it's already shifted

Steve Lhomme git at videolan.org
Fri Mar 13 15:29:46 CET 2015


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar 13 14:24:25 2015 +0100| [25b22720a86717a1dcfbdfb30f77add2d11ca573] | committer: Jean-Baptiste Kempf

MKV: no need to add VLC_TS_0 here, it's already shifted

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mkv/util.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/util.cpp b/modules/demux/mkv/util.cpp
index 9608b95..8f84d94 100644
--- a/modules/demux/mkv/util.cpp
+++ b/modules/demux/mkv/util.cpp
@@ -211,7 +211,7 @@ void handle_real_audio(demux_t * p_demux, mkv_track_t * p_tk, block_t * p_blk, m
             if( !p_sys->i_subpacket )
             {
                 p_tk->i_last_dts = 
-                p_block->i_pts = i_pts + VLC_TS_0;
+                p_block->i_pts = i_pts;
             }
 
             p_frame += p_sys->i_subpacket_size;



More information about the vlc-commits mailing list