[vlc-devel] [PATCH] bluray: fix seekpoint overriding previously set flags
Rémi Denis-Courmont
remi at remlab.net
Mon Jun 6 12:44:33 CEST 2016
Le 2016-06-06 11:51, Steve Lhomme a écrit :
> ---
> 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;
> }
LGTM.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list