[vlc-devel] [PATCH] Don't loop if chapter changes between P and B pics

Denis Charmet typx at dinauz.org
Fri Feb 17 16:25:18 CET 2012


From: Denis CHARMET <g601940 at rmm-p1188301f.(none)>

---
 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;
-- 
1.7.1





More information about the vlc-devel mailing list