[vlc-commits] Revert "demux: mepg/es: flush the packetizer on seek"

Thomas Guillem git at videolan.org
Wed Jan 8 16:56:59 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan  8 16:56:24 2020 +0100| [71b4510a6bc1aba26523ca288052ff3faf0475e6] | committer: Thomas Guillem

Revert "demux: mepg/es: flush the packetizer on seek"

This reverts commit 3f9bed2a718b5af282c3d74e6a0595bd5141a18e.

Not tested enough, it breaks seek with mp3.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71b4510a6bc1aba26523ca288052ff3faf0475e6
---

 modules/demux/mpeg/es.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mpeg/es.c b/modules/demux/mpeg/es.c
index 41cde198b8..427685c68b 100644
--- a/modules/demux/mpeg/es.c
+++ b/modules/demux/mpeg/es.c
@@ -597,7 +597,6 @@ 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;



More information about the vlc-commits mailing list