Skip to content

Commit

Permalink
sout: only wait all ES if muxer can't add tracks in any point
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkka-ollakka committed Nov 30, 2014
1 parent e2c7381 commit 5b2c430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_output/stream_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ int sout_MuxGetStream( sout_mux_t *p_mux, unsigned i_blocks, mtime_t *pi_dts )
sout_input_t *p_input = p_mux->pp_inputs[i];
block_t *p_data;

if( block_FifoCount( p_input->p_fifo ) < i_blocks )
if( (!p_mux->b_add_stream_any_time) && block_FifoCount( p_input->p_fifo ) < i_blocks )
{
if( p_input->p_fmt->i_cat != SPU_ES )
{
Expand Down

0 comments on commit 5b2c430

Please sign in to comment.