[vlc-commits] input: Add a missing #ifdef ENABLE_SOUT
Hugo Beauzée-Luyssen
git at videolan.org
Wed Nov 25 16:38:34 CET 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Nov 24 10:22:38 2020 +0100| [4deb73b6f62ce8fe8dea84ab0b0a138b79af4550] | committer: Hugo Beauzée-Luyssen
input: Add a missing #ifdef ENABLE_SOUT
sout_instance_ControlsPace is not built nor provided by missing.c when
building with --disable-sout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4deb73b6f62ce8fe8dea84ab0b0a138b79af4550
---
src/input/input.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/input/input.c b/src/input/input.c
index 8f80406f3b..360e1fa9a9 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1309,12 +1309,14 @@ static int Init( input_thread_t * p_input )
}
}
+#ifdef ENABLE_SOUT
if( !priv->b_preparsing && priv->p_sout )
{
priv->b_out_pace_control = !sout_instance_ControlsPace(priv->p_sout);
msg_Dbg( p_input, "starting in %ssync mode",
priv->b_out_pace_control ? "a" : "" );
}
+#endif
if (!input_item_IsPreparsed(input_priv(p_input)->p_item))
{
More information about the vlc-commits
mailing list