[vlc-devel] [PATCH] chromecast: fix http out leak when transcoding
Steve Lhomme
robux4 at videolabs.io
Mon Jun 27 13:33:57 CEST 2016
---
modules/stream_out/chromecast/cast.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 42f6c9e..1bad9ec 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -53,7 +53,7 @@ struct sout_stream_sys_t
~sout_stream_sys_t()
{
- sout_StreamChainDelete(p_out, p_out);
+ sout_StreamChainDelete(p_out, NULL);
delete p_intf;
}
@@ -303,7 +303,7 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
{
if ( unlikely( p_out != NULL ) )
{
- sout_StreamChainDelete( p_out, p_out );
+ sout_StreamChainDelete( p_out, NULL );
sout = "";
}
@@ -458,7 +458,7 @@ static int Open(vlc_object_t *p_this)
msg_Dbg(p_stream, "could not create sout chain:%s", ss.str().c_str());
goto error;
}
- sout_StreamChainDelete( p_sout, p_sout );
+ sout_StreamChainDelete( p_sout, NULL );
b_has_video = var_GetBool(p_stream, SOUT_CFG_PREFIX "video");
--
2.8.2
More information about the vlc-devel
mailing list