[vlc-commits] MKV: allow simple title, multiple-chapter in the menus

Jean-Baptiste Kempf git at videolan.org
Wed Dec 21 21:57:43 CET 2011


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 21 16:15:47 2011 +0100| [bd8458d5c9dbb54f201f0f23c7304dac4420430b] | committer: Jean-Baptiste Kempf

MKV: allow simple title, multiple-chapter in the menus

Close #5699
Regression from 43424ac
(cherry picked from commit ee658c7c2740ac26dcf7092ac2f76dbfc66a1fe2)

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

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

 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 5ab7754..623fbce 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -549,7 +549,7 @@ int virtual_edition_c::PublishChapters( input_title_t & title, int & i_user_chap
         i_seekpoint_num = i_user_chapters;
     }
 
-    if( chapters.size() > 1 )
+//    if( chapters.size() > 1 )
         for( size_t i = 0; i < chapters.size(); i++ )
             chapters[i]->PublishChapters( title, i_user_chapters, i_level );
 



More information about the vlc-commits mailing list