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

Steve Lhomme robUx4 at videolabs.io
Fri Mar 13 14:24:25 CET 2015


---
 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;
-- 
2.3.2




More information about the vlc-devel mailing list