[vlc-devel] [PATCH 19/23] transcode: pass the input video context when creating filters
Steve Lhomme
robux4 at ycbcr.xyz
Thu Nov 7 10:31:32 CET 2019
---
modules/stream_out/transcode/video.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 763d636771f..a1944b8c0d3 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -305,7 +305,7 @@ static int transcode_video_set_conversions( sout_stream_t *p_stream,
return VLC_EGENERIC;
*pp_src = filter_chain_GetFmtOut( *pp_chain );
- *pp_src_vctx = NULL /* TODO */;
+ *pp_src_vctx = filter_chain_GetVideoCtxOut( *pp_chain );
debug_format( p_stream, *pp_src );
}
@@ -343,14 +343,14 @@ static int transcode_video_filters_init( sout_stream_t *p_stream,
p_cfg->video.p_deinterlace_cfg,
p_src, src_ctx, p_src );
p_src = filter_chain_GetFmtOut( id->p_f_chain );
- src_ctx = NULL /* TODO */;
+ src_ctx = filter_chain_GetVideoCtxOut( id->p_f_chain );
}
if( b_master_sync )
{
filter_chain_AppendFilter( id->p_f_chain, "fps", NULL, p_src, src_ctx, p_dst );
p_src = filter_chain_GetFmtOut( id->p_f_chain );
- src_ctx = NULL /* TODO */;
+ src_ctx = filter_chain_GetVideoCtxOut( id->p_f_chain );
}
/* Chroma and other conversions */
--
2.17.1
More information about the vlc-devel
mailing list