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

Denis Charmet git at videolan.org
Tue Mar 20 12:37:43 CET 2012


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

MKV: Use the appropriate time value to avoid loops

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit fbdbd7dab2f509c6746e9077b060098b9d7a164a)

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

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

 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 6dd0463..a774eba 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -390,7 +390,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