[vlc-commits] mkv: prepare playback for the current chapter selected
Steve Lhomme
git at videolan.org
Thu Mar 17 17:07:11 CET 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 17 16:53:06 2016 +0100| [913ed2f0f97c04201a58cac2b3aaf29f0e275f17] | committer: Jean-Baptiste Kempf
mkv: prepare playback for the current chapter selected
this is important as seeking is always done from a virtual_chapter (via its segment)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=913ed2f0f97c04201a58cac2b3aaf29f0e275f17
---
modules/demux/mkv/demux.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index 275a0cf..b3a203a 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -794,7 +794,7 @@ bool demux_sys_t::PreparePlayback( virtual_segment_c & new_vsegment, mtime_t i_m
/* Seek to the beginning */
p_current_vsegment->Seek(p_current_vsegment->CurrentSegment()->sys.demuxer,
- i_mk_date, NULL, -1);
+ i_mk_date, p_current_vsegment->p_current_vchapter, -1);
return true;
}
More information about the vlc-commits
mailing list