vlc | branch: master | Francois Cartegnie <[email protected]> | 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 );
 }
 
 /*****************************************************************************

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to