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

Steve Lhomme robux4 at videolabs.io
Mon Jun 6 11:51:50 CEST 2016


---
 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;
     }
 
-- 
2.7.0



More information about the vlc-devel mailing list