[vlc-devel] [PATCH 2/2] input: Add a missing #ifdef ENABLE_SOUT

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Nov 24 10:24:19 CET 2020


---
 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))
     {
-- 
2.29.2



More information about the vlc-devel mailing list