[vlc-devel] [PATCH 1/2] bluray: handle BD_EVENT_DISCONTINUITY
Petri Hintukainen
phintuka at users.sourceforge.net
Mon Feb 10 12:27:01 CET 2014
---
modules/access/bluray.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index fdcf037..099bf3d 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;
--
1.8.3.2
More information about the vlc-devel
mailing list