[vlc-commits] dlna: do not use sout_stream_t.p_sout
Rémi Denis-Courmont
git at videolan.org
Sun Oct 11 14:18:58 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 15:00:02 2020 +0300| [1adaad4694cc48cbb02dd67f2b1c96be17354799] | committer: Rémi Denis-Courmont
dlna: do not use sout_stream_t.p_sout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1adaad4694cc48cbb02dd67f2b1c96be17354799
---
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 9f796d4a65..b2aec305cb 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();
More information about the vlc-commits
mailing list