[vlc-commits] bluray: Fix seekpoint updating.

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 12 12:13:25 CET 2012


vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Mar 11 16:57:33 2012 +0100| [445d60a36f8ef18102121c29c1d8498e21862fce] | committer: Jean-Baptiste Kempf

bluray: Fix seekpoint updating.
(cherry picked from commit c68373380984bbf16687997e426b25ac90558751)

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

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

 modules/access/bluray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 6444ef7..4e0cddb 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -959,7 +959,7 @@ static void blurayHandleEvent( demux_t *p_demux, const BD_EVENT *e )
             break;
         case BD_EVENT_CHAPTER:
             p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
-            p_demux->info.i_seekpoint = 0;
+            p_demux->info.i_seekpoint = e->param;
             break;
         case BD_EVENT_ANGLE:
         case BD_EVENT_IG_STREAM:



More information about the vlc-commits mailing list