[vlc-devel] [PATCH 17/18] dlna: do not use sout_stream_t.p_sout

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


---
 modules/stream_out/dlna/dlna.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/stream_out/dlna/dlna.cpp b/modules/stream_out/dlna/dlna.cpp
index 44fcef90ec..5a566fbcd3 100644
--- a/modules/stream_out/dlna/dlna.cpp
+++ b/modules/stream_out/dlna/dlna.cpp
@@ -226,7 +226,8 @@ bool sout_stream_sys_t::startSoutChain(sout_stream_t *p_stream,
     msg_Dbg( p_stream, "Creating chain %s", sout.c_str() );
     out_streams = new_streams;
 
-    p_out = sout_StreamChainNew( p_stream->p_sout, sout.c_str(), nullptr, nullptr);
+    p_out = sout_StreamChainNew(VLC_OBJECT(p_stream), sout.c_str(), nullptr,
+                                nullptr);
     if (p_out == nullptr) {
         msg_Err(p_stream, "could not create sout chain:%s", sout.c_str());
         out_streams.clear();
-- 
2.28.0



More information about the vlc-devel mailing list