From 5054a5695731fc99ad8c9786c7b66db61a29c267 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Mon, 30 Aug 2004 17:46:46 +0000 Subject: [PATCH] * modules/mux/mpeg/ts.c: waiting for the fifo to have 51 packets before muxing is completely insane. Put back the old value of 2 packets. --- modules/mux/mpeg/ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c index 084e22dd08..c5f0a6ecaf 100644 --- a/modules/mux/mpeg/ts.c +++ b/modules/mux/mpeg/ts.c @@ -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 ) -- 2.39.2