[vlc-commits] commit: Blu-Ray: correctly update the navigation menu for 'titles' ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Nov 1 15:24:31 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 1 15:23:45 2010 +0100| [2abfe391b7e4484cff71a3028f00036156cb367f] | committer: Jean-Baptiste Kempf
Blu-Ray: correctly update the navigation menu for 'titles'
As pointed out by Laurent
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2abfe391b7e4484cff71a3028f00036156cb367f
---
modules/access/bluray.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 427c41b..78b7388 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -233,6 +233,7 @@ static int bluraySetTitle(access_t *p_access, int i_title)
p_access->info.i_pos = 0;
p_access->info.b_eof = false;
p_access->info.i_seekpoint = 0;
+ p_access->info.i_update |= INPUT_UPDATE_TITLE | INPUT_UPDATE_SEEKPOINT;
return VLC_SUCCESS;
}
@@ -276,6 +277,7 @@ static int blurayControl(access_t *p_access, int query, va_list args)
{
int i_chapter = (int)va_arg( args, int );
bd_seek_chapter( p_sys->bluray, i_chapter );
+ p_access->info.i_update = INPUT_UPDATE_SEEKPOINT;
break;
}
More information about the vlc-commits
mailing list