[vlc-commits] mkv: do not reset the i_start_time after a seek was	initiated
    Steve Lhomme 
    git at videolan.org
       
    Thu Mar 17 16:58:27 CET 2016
    
    
  
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 17 15:05:28 2016 +0100| [4b94dfd4c59751d3b30acc26ab55625296032ac6] | committer: Jean-Baptiste Kempf
mkv: do not reset the i_start_time after a seek was initiated
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b94dfd4c59751d3b30acc26ab55625296032ac6
---
 modules/demux/mkv/virtual_segment.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index bdbbb7f..3513d1f 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -462,8 +462,8 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
                         Seek( demux, p_cur_vchapter->i_mk_virtual_start_time, p_cur_vchapter, -1 );
                         return true;
                     }
+                    sys.i_start_pts = p_cur_vchapter->i_mk_virtual_start_time + VLC_TS_0;
                 }
-                sys.i_start_pts = p_cur_vchapter->i_mk_virtual_start_time + VLC_TS_0;
             }
 
             p_current_vchapter = p_cur_vchapter;
    
    
More information about the vlc-commits
mailing list