[vlc-devel] [PATCH 1/3] mkv: do not reset the i_start_time after a seek was initiated
Steve Lhomme
robux4 at videolabs.io
Thu Mar 17 15:05:28 CET 2016
---
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 6d909d1..90050fc 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -459,8 +459,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;
--
2.7.1
More information about the vlc-devel
mailing list