[vlc-commits] MKV: Don't loop if chapter changes between P and B pics

Denis Charmet git at videolan.org
Fri Feb 17 16:38:46 CET 2012


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Fri Feb 17 16:25:18 2012 +0100| [eeac7c94bb8cb51e0bc22d9d42f82fc9ce1e5674] | committer: Jean-Baptiste Kempf

MKV: Don't loop if chapter changes between P and B pics

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

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

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

diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index d790357..6dd0463 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -390,6 +390,7 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
                         return true;
                     }
                 }
+                sys.i_start_pts = p_cur_chapter->p_chapter->i_start_time;
             }
 
             p_current_chapter = p_cur_chapter;



More information about the vlc-commits mailing list