[vlc-commits] chromecast: add asserts on Close()
Thomas Guillem
git at videolan.org
Thu Feb 1 11:26:29 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 31 10:08:57 2018 +0100| [e99f8d40e50767b5c1a00ef658127d269426750c] | committer: Thomas Guillem
chromecast: add asserts on Close()
(cherry picked from commit 44fece7da5808b453d681700f6282fb4455ac8d9)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=e99f8d40e50767b5c1a00ef658127d269426750c
---
modules/stream_out/chromecast/cast.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 4e1206b9e4..ea2c6d5e90 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -1127,6 +1127,7 @@ static void Close(vlc_object_t *p_this)
var_Destroy( p_stream->p_sout, SOUT_CFG_PREFIX "sys" );
var_Destroy( p_stream->p_sout, SOUT_CFG_PREFIX "sout-mux-caching" );
+ assert(p_sys->streams.empty() && p_sys->out_streams.empty());
delete p_sys;
}
More information about the vlc-commits
mailing list