vlc | branch: master | Steve Lhomme <[email protected]> | Wed Nov 13 09:53:23 2019 +0100| [386e89d2a689986b47462371d1cce458ebf03313] | committer: Steve Lhomme
transcode: use the intermediate video context between filter chains Similar to how we use the intermediate output video format out of each chain. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=386e89d2a689986b47462371d1cce458ebf03313 --- modules/stream_out/transcode/video.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c index 944acf81cb..9fe58696c5 100644 --- a/modules/stream_out/transcode/video.c +++ b/modules/stream_out/transcode/video.c @@ -294,6 +294,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 = filter_chain_GetVideoCtxOut( *pp_chain ); debug_format( p_stream, *pp_src ); } @@ -331,12 +332,14 @@ static int transcode_video_filters_init( sout_stream_t *p_stream, p_cfg->video.p_deinterlace_cfg, p_src ); p_src = filter_chain_GetFmtOut( id->p_f_chain ); + src_ctx = filter_chain_GetVideoCtxOut( id->p_f_chain ); } if( b_master_sync ) { filter_chain_AppendFilter( id->p_f_chain, "fps", NULL, p_dst ); p_src = filter_chain_GetFmtOut( id->p_f_chain ); + src_ctx = filter_chain_GetVideoCtxOut( id->p_f_chain ); } /* Chroma and other conversions */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
