vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Oct 18 18:48:25 2018 +0200| [52e61cda8c05d0f97ae266f1eba94b533375d8a9] | committer: Francois Cartegnie
access: bluray: process events after a read A truncated read can occur on clip boundary whose events must be handled > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52e61cda8c05d0f97ae266f1eba94b533375d8a9 --- modules/access/bluray.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/access/bluray.c b/modules/access/bluray.c index b21d30225d..4f8e844465 100644 --- a/modules/access/bluray.c +++ b/modules/access/bluray.c @@ -2656,10 +2656,9 @@ static int blurayDemux(demux_t *p_demux) int nread; if (p_sys->b_menu == false) { + nread = bd_read(p_sys->bluray, p_block->p_buffer, BD_READ_SIZE); while (bd_get_event(p_sys->bluray, &e)) blurayHandleEvent(p_demux, &e); - - nread = bd_read(p_sys->bluray, p_block->p_buffer, BD_READ_SIZE); } else { nread = bd_read_ext(p_sys->bluray, p_block->p_buffer, BD_READ_SIZE, &e); while (e.event != BD_EVENT_NONE) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
