Browse Source

es_out: use sout control only when sout is enabled

sout_instance_ControlsPace implementation is only compiled when
ENABLE_SOUT is defined, so es_out should only use it in that case.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
pull/103/head
Alexandre Janniaux 7 years ago
committed by Thomas Guillem
parent
commit
82ddd6c771
  1. 2
      src/input/es_out.c

2
src/input/es_out.c

@ -2752,6 +2752,7 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
return VLC_SUCCESS;
}
#ifdef ENABLE_SOUT
/* Check for sout mode */
if( input_priv(p_input)->p_sout )
{
@ -2762,6 +2763,7 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
input_priv(p_input)->b_out_pace_control = pace;
}
#endif
/* Decode */
if( es->p_dec_record )

Loading…
Cancel
Save