[vlc-commits] sout record: do not use sout_stream_t.p_sout
Rémi Denis-Courmont
git at videolan.org
Sun Oct 11 14:18:57 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 14:52:07 2020 +0300| [823a111e3b809bcb127b310b00e784fc97915a1d] | committer: Rémi Denis-Courmont
sout record: do not use sout_stream_t.p_sout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=823a111e3b809bcb127b310b00e784fc97915a1d
---
modules/stream_out/duplicate.c | 2 +-
modules/stream_out/record.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/duplicate.c b/modules/stream_out/duplicate.c
index dc931ca4b1..313d1da939 100644
--- a/modules/stream_out/duplicate.c
+++ b/modules/stream_out/duplicate.c
@@ -133,7 +133,7 @@ static int Open( vlc_object_t *p_this )
sout_stream_t *s, *p_last;
msg_Dbg( p_stream, " * adding `%s'", p_cfg->psz_value );
- s = sout_StreamChainNew( p_stream->p_sout, p_cfg->psz_value,
+ s = sout_StreamChainNew( VLC_OBJECT(p_stream), p_cfg->psz_value,
p_stream->p_next, &p_last );
if( s )
diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
index eb3e16c41c..70dee74934 100644
--- a/modules/stream_out/record.c
+++ b/modules/stream_out/record.c
@@ -347,7 +347,8 @@ static int OutputNew( sout_stream_t *p_stream,
/* Create the output */
msg_Dbg( p_stream, "Using record output `%s'", psz_output );
- p_sys->p_out = sout_StreamChainNew( p_stream->p_sout, psz_output, NULL, NULL );
+ p_sys->p_out = sout_StreamChainNew( VLC_OBJECT(p_stream), psz_output, NULL,
+ NULL );
if( !p_sys->p_out )
goto error;
More information about the vlc-commits
mailing list