[vlc-commits] sout render: do not use sout_stream_t.p_sout

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


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

sout render: do not use sout_stream_t.p_sout

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

 modules/stream_out/renderer_common.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/renderer_common.cpp b/modules/stream_out/renderer_common.cpp
index f779ca0129..2d84d1a7a3 100644
--- a/modules/stream_out/renderer_common.cpp
+++ b/modules/stream_out/renderer_common.cpp
@@ -103,7 +103,7 @@ GetVencOption( sout_stream_t *p_stream, std::vector<vlc_fourcc_t> codecs,
             ssout << "transcode{" << ssvenc.str() << "}:dummy";
 
             sout_stream_t *p_sout_test =
-                sout_StreamChainNew( p_stream->p_sout, ssout.str().c_str(), NULL, NULL );
+                sout_StreamChainNew( VLC_OBJECT(p_stream), ssout.str().c_str(), NULL, NULL );
 
             if( p_sout_test != NULL )
             {



More information about the vlc-commits mailing list