[vlc-devel] [PATCH] bluray: Fix missing chapters and title lengths when playing with menus

Petri Hintukainen phintuka at gmail.com
Wed Nov 11 09:18:57 CET 2015


Title length is unknown until playback of playlist starts.
---
 modules/access/bluray.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 7b5c204..2558adb 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1862,6 +1862,8 @@ static void blurayUpdatePlaylist(demux_t *p_demux, unsigned i_playlist)
     BLURAY_TITLE_INFO *p_title_info = bd_get_playlist_info(p_sys->bluray, i_playlist, 0);
     if (p_title_info) {
         blurayUpdateTitleInfo(p_sys->pp_title[p_demux->info.i_title], p_title_info);
+        if (p_sys->b_menu)
+            p_demux->info.i_update |= INPUT_UPDATE_TITLE_LIST;
     }
     setTitleInfo(p_sys, p_title_info);
 
-- 
2.5.0



More information about the vlc-devel mailing list