vlc | branch: master | Steve Lhomme <[email protected]> | Thu Nov 7 16:21:11 2019 +0100| [3c721d3079f5c73c3d9d2eee30cf178e82286617] | committer: Steve Lhomme
mosaic_bridge: use a NULL video context with a forced chroma We can't use the context of the real source and it's a CPU chroma so we should use NULL. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c721d3079f5c73c3d9d2eee30cf178e82286617 --- modules/stream_out/mosaic_bridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c index d3b8d76a31..6b1f8c0a0c 100644 --- a/modules/stream_out/mosaic_bridge.c +++ b/modules/stream_out/mosaic_bridge.c @@ -571,7 +571,10 @@ static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context *vct es_format_t fmt; es_format_InitFromVideo( &fmt, &p_dec->fmt_out.video ); if( p_sys->i_chroma ) + { fmt.video.i_chroma = p_sys->i_chroma; + vctx = NULL; // CPU chroma, no video context + } filter_chain_Reset( p_sys->p_vf2, &fmt, &fmt ); es_format_Clean( &fmt ); filter_chain_AppendFromString( p_sys->p_vf2, psz_chain ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
