[vlc-commits] bluray: handle BD_EVENT_DISCONTINUITY
Petri Hintukainen
git at videolan.org
Mon Feb 10 16:07:04 CET 2014
vlc | branch: master | Petri Hintukainen <phintuka at users.sourceforge.net> | Mon Feb 10 13:27:01 2014 +0200| [9e10f3fbf0459e0de6818c5ff31eb998c348511d] | committer: Jean-Baptiste Kempf
bluray: handle BD_EVENT_DISCONTINUITY
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e10f3fbf0459e0de6818c5ff31eb998c348511d
---
modules/access/bluray.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index a629bd7..9edf4d1 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1502,6 +1502,11 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
case BD_EVENT_IG_STREAM:
break;
+ case BD_EVENT_DISCONTINUITY:
+ /* reset demuxer (partially decoded PES packets must be dropped) */
+ blurayResetParser(p_demux);
+ break;
+
default:
msg_Warn(p_demux, "event: %d param: %d", e->event, e->param);
break;
More information about the vlc-commits
mailing list