[vlc-devel] [PATCH 20/23] sout: do not create useless variable

RĂ©mi Denis-Courmont remi at remlab.net
Sat Oct 10 14:55:44 CEST 2020


This is inherited anyway.
---
 src/stream_output/stream_output.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 686c766707..320a425ab8 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -113,8 +113,6 @@ sout_instance_t *sout_NewInstance( vlc_object_t *p_parent, const char *psz_dest
     vlc_mutex_init( &p_sout->lock );
     p_sout->p_stream = NULL;
 
-    var_Create( p_sout, "sout-mux-caching", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
-
     p_sout->p_stream = sout_StreamChainNew( VLC_OBJECT(p_sout), psz_chain,
                                             NULL, NULL );
     if( p_sout->p_stream )
-- 
2.28.0



More information about the vlc-devel mailing list