[vlc-commits] sout: Don' t wait until all the es has atleast minimum amount of blocks in fifo

Ilkka Ollakka git at videolan.org
Thu Feb 20 07:52:49 CET 2014


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Feb 16 11:53:30 2014 +0200| [57b356e2e2f646f7907a1518dbe605fc9899bc02] | committer: Ilkka Ollakka

sout: Don't wait until all the es has atleast minimum amount of blocks in fifo

So if one elemental stream stops inputing data to muxer, it can still mux
other tracks.

Ref #4520

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

 src/stream_output/stream_output.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index d01fed5..7fdba01 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -556,14 +556,7 @@ int sout_MuxGetStream( sout_mux_t *p_mux, int i_blocks, mtime_t *pi_dts )
         block_t *p_data;
 
         if( block_FifoCount( p_input->p_fifo ) < i_blocks )
-        {
-            if( p_input->p_fmt->i_cat != SPU_ES )
-            {
-                return -1;
-            }
-            /* FIXME: SPU muxing */
             continue;
-        }
 
         p_data = block_FifoShow( p_input->p_fifo );
         if( i_stream < 0 || p_data->i_dts < i_dts )



More information about the vlc-commits mailing list