[vlc-devel] commit: Reset buffering level when needed. (Laurent Aimar )

git version control git at videolan.org
Thu Dec 4 23:13:32 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Dec  4 23:12:41 2008 +0100| [dd046c24fbb8d8ee585d1667570c77c3612807d4] | committer: Laurent Aimar 

Reset buffering level when needed.

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

 src/input/es_out.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 2c676f9..925b927 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -575,6 +575,8 @@ static void EsOutChangePosition( es_out_t *out )
 {
     es_out_sys_t      *p_sys = out->p_sys;
 
+    input_SendEventCache( p_sys->p_input, 0.0 );
+
     for( int i = 0; i < p_sys->i_es; i++ )
     {
         es_out_id_t *p_es = p_sys->es[i];




More information about the vlc-devel mailing list