[vlc-commits] bluray: fix seekpoint overriding previously set flags

Steve Lhomme git at videolan.org
Tue Jun 7 11:24:42 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Jun  6 11:51:50 2016 +0200| [d59500bda77624ea0c58a9e72ec6cad44fe9ec68] | committer: Jean-Baptiste Kempf

bluray: fix seekpoint overriding previously set flags

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

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

 modules/access/bluray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 0693451..d990379 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1837,7 +1837,7 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
     {
         int i_chapter = (int)va_arg(args, int);
         bd_seek_chapter(p_sys->bluray, i_chapter);
-        p_demux->info.i_update = INPUT_UPDATE_SEEKPOINT;
+        p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
         break;
     }
 



More information about the vlc-commits mailing list