[vlc-devel] [PATCH 15/18] cycle: do not use sout_stream_t.p_sout

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


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

diff --git a/modules/stream_out/cycle.c b/modules/stream_out/cycle.c
index 673f126dbd..f12d32f7c2 100644
--- a/modules/stream_out/cycle.c
+++ b/modules/stream_out/cycle.c
@@ -127,7 +127,7 @@ static int AddStream(sout_stream_t *stream, char *chain)
 
     msg_Dbg(stream, "starting new phase \"%s\"", chain);
     /* TODO format */
-    sys->stream = sout_StreamChainNew(stream->p_sout, chain,
+    sys->stream = sout_StreamChainNew(VLC_OBJECT(stream), chain,
                                       stream->p_next, NULL);
     if (sys->stream == NULL)
         return -1;
-- 
2.28.0



More information about the vlc-devel mailing list