]> git.sesse.net Git - vlc/commitdiff
* modules/mux/mpeg/ts.c: waiting for the fifo to have 51 packets before muxing is...
authorGildas Bazin <gbazin@videolan.org>
Mon, 30 Aug 2004 17:46:46 +0000 (17:46 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 30 Aug 2004 17:46:46 +0000 (17:46 +0000)
modules/mux/mpeg/ts.c

index 084e22dd088f2b3ebc8799920275290913a05b45..c5f0a6ecafc2440f7651ce9f6d27cb1896c5132a 100644 (file)
@@ -918,7 +918,7 @@ static int Mux( sout_mux_t *p_mux )
                     p_pcr_stream->i_pes_dts + p_pcr_stream->i_pes_length )
                 {
                     /* Need more data */
-                    if( p_input->p_fifo->i_depth <= 50 )
+                    if( p_input->p_fifo->i_depth <= 1 )
                     {
                         if( p_input->p_fmt->i_cat == AUDIO_ES ||
                             p_input->p_fmt->i_cat == VIDEO_ES )