[vlc-devel] [PATCH] demux: mepg/es: flush the packetizer on seek
Thomas Guillem
thomas at gllm.fr
Fri Dec 20 13:36:50 CET 2019
---
modules/demux/mpeg/es.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mpeg/es.c b/modules/demux/mpeg/es.c
index b75a5b8b506..a4a79591655 100644
--- a/modules/demux/mpeg/es.c
+++ b/modules/demux/mpeg/es.c
@@ -597,6 +597,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
block_ChainRelease( p_sys->p_packetized_data );
p_sys->p_packetized_data = NULL;
}
+ p_sys->p_packetizer->pf_flush( p_sys->p_packetizer );
/* Reset chapter if any */
p_sys->chapters.i_current = 0;
--
2.20.1
More information about the vlc-devel
mailing list