Commit 5054a569 authored by gbazin's avatar gbazin

* modules/mux/mpeg/ts.c: waiting for the fifo to have 51 packets before muxing...

* 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.
parent 932163e1
...@@ -918,7 +918,7 @@ static int Mux( sout_mux_t *p_mux ) ...@@ -918,7 +918,7 @@ static int Mux( sout_mux_t *p_mux )
p_pcr_stream->i_pes_dts + p_pcr_stream->i_pes_length ) p_pcr_stream->i_pes_dts + p_pcr_stream->i_pes_length )
{ {
/* Need more data */ /* 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 || if( p_input->p_fmt->i_cat == AUDIO_ES ||
p_input->p_fmt->i_cat == VIDEO_ES ) p_input->p_fmt->i_cat == VIDEO_ES )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment