[vlc-commits] es_out: use sout control only when sout is enabled
Alexandre Janniaux
git at videolan.org
Fri Mar 13 12:03:21 CET 2020
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Mar 10 00:12:16 2020 +0100| [82ddd6c77182953bbc1ee430c805be16bb1e58bf] | committer: Thomas Guillem
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 at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82ddd6c77182953bbc1ee430c805be16bb1e58bf
---
src/input/es_out.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 118c780c95..e4e0e460ac 100644
--- a/src/input/es_out.c
+++ b/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 )
More information about the vlc-commits
mailing list