Commit e74666db authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

video_filter:canvas: init the fmt_out directly from filter_chain_GetFmtOut()

avoid a structure copy and avoid shallow copies of es_format_t
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 7864c554
......@@ -349,8 +349,8 @@ static int Activate( vlc_object_t *p_this )
fmt = *filter_chain_GetFmtOut( p_sys->p_chain );
es_format_Copy( &p_filter->fmt_out, &fmt );
es_format_Copy( &p_filter->fmt_out,
filter_chain_GetFmtOut( p_sys->p_chain ) );
vlc_ureduce( &p_filter->,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment