[vlc-commits] MKV: Use the appropriate time value to avoid loops

Denis Charmet git at videolan.org
Tue Mar 20 01:05:58 CET 2012


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Mon Mar 19 22:39:15 2012 +0100| [fbdbd7dab2f509c6746e9077b060098b9d7a164a] | committer: Jean-Baptiste Kempf

MKV: Use the appropriate time value to avoid loops

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

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

 modules/demux/mkv/virtual_segment.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index 38db54a..9892b7c 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -399,7 +399,7 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
                         return true;
                     }
                 }
-                sys.i_start_pts = p_cur_chapter->p_chapter->i_start_time;
+                sys.i_start_pts = p_cur_chapter->i_virtual_start_time;;
             }
 
             p_current_chapter = p_cur_chapter;



More information about the vlc-commits mailing list