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

Rémi Denis-Courmont git at videolan.org
Sun Oct 11 14:18:55 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 14:52:07 2020 +0300| [ad90c9c3b6e9b75374f5f832352893a0382cacf4] | committer: Rémi Denis-Courmont

cycle: do not use sout_stream_t.p_sout

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

 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 94287387a1..eb615f3b0b 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;



More information about the vlc-commits mailing list