[vlc-commits] demux: asf: reset PCR on seek

Francois Cartegnie git at videolan.org
Tue Dec 3 18:37:55 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec  3 17:41:51 2013 +0100| [bc5a9b1b9d336e637a63bfdf8cd6ad611b377030] | committer: Francois Cartegnie

demux: asf: reset PCR on seek

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

 modules/demux/asf/asf.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 9dd3b10..cc0a861 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -342,6 +342,8 @@ static void SeekPrepare( demux_t *p_demux )
             block_ChainRelease( tk->p_frame );
         tk->p_frame = NULL;
     }
+
+    es_out_Control( p_demux->out, ES_OUT_RESET_PCR, VLC_TS_INVALID );
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list