[vlc-devel] commit: Do not wait for SPU buffering. (Laurent Aimar )

git version control git at videolan.org
Tue Jan 6 21:37:52 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan  6 19:41:36 2009 +0100| [d0c77f30225f5a73e17682084dcdadf4485b71db] | committer: Laurent Aimar 

Do not wait for SPU buffering.

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

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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 468dea6..703e4bf 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -652,7 +652,7 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool b_forced )
     {
         es_out_id_t *p_es = p_sys->es[i];
 
-        if( !p_es->p_dec )
+        if( !p_es->p_dec || p_es->fmt.i_cat == SPU_ES )
             continue;
         input_DecoderWaitBuffering( p_es->p_dec );
         if( p_es->p_dec_record )




More information about the vlc-devel mailing list