[vlc-devel] commit: Do not issue input times event when buffering. (Laurent Aimar )

git version control git at videolan.org
Mon Jan 12 23:00:13 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 12 22:58:33 2009 +0100| [02eae2497c9ad1bca06cc16128e313ee331d04bb] | committer: Laurent Aimar 

Do not issue input times event when buffering.

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

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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 1062aa5..ec1612b 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2399,7 +2399,8 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
             if( f_position < 0 )
                 f_position = 0;
 
-            input_SendEventTimes( p_sys->p_input, f_position, i_time, i_length );
+            if( !p_sys->b_buffering )
+                input_SendEventTimes( p_sys->p_input, f_position, i_time, i_length );
             return VLC_SUCCESS;
         }
 




More information about the vlc-devel mailing list