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

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


vlc/vlc-2.0 | branch: master | Denis Charmet <typx at dinauz.org> | Fri Feb 17 16:25:18 2012 +0100| [aef627ceed84d0ff4f1689254f6ad4680125a45a] | 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>
(cherry picked from commit eeac7c94bb8cb51e0bc22d9d42f82fc9ce1e5674)

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

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

 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