[vlc-commits] bluray: Fix missing chapters and title lengths when playing with menus
Petri Hintukainen
git at videolan.org
Thu Nov 12 12:54:58 CET 2015
vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Nov 11 10:18:57 2015 +0200| [8d24164e285fa6a93a8c3fa8e2d53b31066b9eaa] | committer: Jean-Baptiste Kempf
bluray: Fix missing chapters and title lengths when playing with menus
Title length is unknown until playback of playlist starts.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d24164e285fa6a93a8c3fa8e2d53b31066b9eaa
---
modules/access/bluray.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 18a9c78..7d295f4 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1850,6 +1850,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);
More information about the vlc-commits
mailing list