[vlc-commits] sout: do not create useless variable

Rémi Denis-Courmont git at videolan.org
Sun Oct 11 15:23:59 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 15:15:35 2020 +0300| [5e670a68ae9290c453ca69485a8048687f4b7776] | committer: Rémi Denis-Courmont

sout: do not create useless variable

This is inherited anyway.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e670a68ae9290c453ca69485a8048687f4b7776
---

 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 )



More information about the vlc-commits mailing list